39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
|
|
/*!
|
||
|
|
* Copyright (c) 2016, Freescale Semiconductor, Inc.
|
||
|
|
* Copyright 2016 NXP
|
||
|
|
* All rights reserved.
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
@c:include("myAlloc.hpp")
|
||
|
|
@output_dir("erpc_outputs")
|
||
|
|
program test;
|
||
|
|
|
||
|
|
import "../common/unit_test_common.erpc"
|
||
|
|
|
||
|
|
interface BuiltinServices
|
||
|
|
{
|
||
|
|
oneway test_int32_in(int32 a)
|
||
|
|
test_int32_in2(in int32 b) -> void
|
||
|
|
test_int32_out(out int32 c) -> void
|
||
|
|
test_int32_inout(inout int32 e) -> void
|
||
|
|
test_int32_return() -> int32
|
||
|
|
test_int32_allDirection(int32 a, in int32 b, out int32 c, inout int32 e) -> int32
|
||
|
|
|
||
|
|
test_float_inout(in float a, out float b) -> void
|
||
|
|
|
||
|
|
test_double_inout(in double a, out double b) -> void
|
||
|
|
|
||
|
|
oneway test_string_in(string a)
|
||
|
|
test_string_in2(in string b) -> void
|
||
|
|
test_string_out(out string c @max_length(6)) -> void
|
||
|
|
test_string_inout(inout string e @max_length(13)) -> void
|
||
|
|
test_string_return() -> string
|
||
|
|
test_string_allDirection(string a, in string b, out string c @max_length(6), inout string e @max_length(13)) -> string
|
||
|
|
test_string_empty(string a, in string b, out string c @max_length(6), inout string e @max_length(0)) -> string
|
||
|
|
sendHello(string str) -> int32
|
||
|
|
sendTwoStrings(string myStr1, string myStr2) -> int32
|
||
|
|
returnHello() -> string
|
||
|
|
}
|