From 1bb22e13461e8dca865b6f94ef43881b269b5f4c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 12 Sep 2016 20:03:52 +0200 Subject: [PATCH] Almost pass the "appbroker.sh" test again --- tests/Test.expected | 64 ++------------------------------------------- 1 file changed, 2 insertions(+), 62 deletions(-) diff --git a/tests/Test.expected b/tests/Test.expected index dc9a1af..d8b21b9 100644 --- a/tests/Test.expected +++ b/tests/Test.expected @@ -10,68 +10,8 @@ # include -/* types */ -typedef void VOID; - -typedef bool BOOL; -typedef int8_t INT8; -typedef uint8_t UINT8; -typedef int16_t INT16; -typedef uint16_t UINT16; -typedef int32_t INT32; -typedef uint32_t UINT32; -typedef int64_t INT64; -typedef uint64_t UINT64; -typedef float FLOAT; -typedef double DOUBLE; -typedef Buffer * BUFFER; -typedef String const * STRING; - -typedef BOOL BOOL_IN; -typedef INT8 INT8_IN; -typedef UINT8 UINT8_IN; -typedef INT16 INT16_IN; -typedef UINT16 UINT16_IN; -typedef INT32 INT32_IN; -typedef UINT32 UINT32_IN; -typedef INT64 INT64_IN; -typedef UINT64 UINT64_IN; -typedef FLOAT FLOAT_IN; -typedef DOUBLE DOUBLE_IN; -typedef BUFFER BUFFER_IN; -typedef STRING STRING_IN; - -typedef bool * BOOL_OUT; -typedef int8_t * INT8_OUT; -typedef uint8_t * UINT8_OUT; -typedef int16_t * INT16_OUT; -typedef uint16_t * UINT16_OUT; -typedef int32_t * INT32_OUT; -typedef uint32_t * UINT32_OUT; -typedef int64_t * INT64_OUT; -typedef uint64_t * UINT64_OUT; -typedef float * FLOAT_OUT; -typedef double * DOUBLE_OUT; -typedef Buffer * BUFFER_OUT; -typedef String ** STRING_OUT; - -typedef bool * BOOL_INOUT; -typedef int8_t * INT8_INOUT; -typedef uint8_t * UINT8_INOUT; -typedef int16_t * INT16_INOUT; -typedef uint16_t * UINT16_INOUT; -typedef int32_t * INT32_INOUT; -typedef uint32_t * UINT32_INOUT; -typedef int64_t * INT64_INOUT; -typedef uint64_t * UINT64_INOUT; -typedef float * FLOAT_INOUT; -typedef double * DOUBLE_INOUT; -typedef Buffer * BUFFER_INOUT; -typedef String ** STRING_INOUT; - - /* calls */ -void Test_Test(App * app, AppServerClient * client, INT32 i32); -void Test_Test2(App * app, AppServerClient * client, INT32_INOUT i32); +void Test_Test(App * app, AppServerClient * client, int32_t i32); +void Test_Test2(App * app, AppServerClient * client, int32_t * i32); #endif /* !Test_Test_H */