45 lines
987 B
Plaintext
45 lines
987 B
Plaintext
|
|
/*!
|
||
|
|
* Copyright 2017 NXP
|
||
|
|
* All rights reserved.
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
@output_dir("erpc_outputs")
|
||
|
|
program test
|
||
|
|
|
||
|
|
import "../common/unit_test_common.erpc"
|
||
|
|
|
||
|
|
@c:include("test_core1.h")
|
||
|
|
@group("core0")
|
||
|
|
interface ClientCore0Services
|
||
|
|
{
|
||
|
|
type oneway callback1_t(int32 a, int32 b)
|
||
|
|
type callback3_t(int32 arg1, int32 arg2) -> int32
|
||
|
|
type oneway callback2_t(int32, int32)
|
||
|
|
|
||
|
|
myFun(in callback1_t pCallback1_in, out callback1_t pCallback1_out) -> int32
|
||
|
|
|
||
|
|
myFun2(ClientCore1Services::callback2_t pCallback2_in, out ClientCore1Services::callback2_t pCallback2_out) -> void
|
||
|
|
|
||
|
|
myFun3(callback3_t callback, in int32 arg1, in int32 arg2) -> int32
|
||
|
|
|
||
|
|
callback3_t my_add;
|
||
|
|
callback3_t my_sub;
|
||
|
|
callback3_t my_mul;
|
||
|
|
callback3_t my_div;
|
||
|
|
|
||
|
|
callback1_t callback1a;
|
||
|
|
|
||
|
|
|
||
|
|
callback1_t callback1b(param1, param2);
|
||
|
|
}
|
||
|
|
|
||
|
|
@group("core1")
|
||
|
|
interface ClientCore1Services
|
||
|
|
{
|
||
|
|
type oneway callback2_t(int32, int32)
|
||
|
|
|
||
|
|
callback2_t callback2(param1, param2);
|
||
|
|
}
|