--- name: name annotation test desc: This test @name annotation on different symbols idl: | @name("EnumName") enum { A @name(D), B, C } @name("StructName") struct S{ int32 a @name("d"); int32 b; int32 c } @name("type") type T = S @name(I) interface K { @c:name(function) oneway functionName(S a @name(m)) @py:name(function2) oneway functionName2(S a @name(m)) } test_common.h: - enum EnumName - D - struct StructName StructName - StructName type - struct StructName - int32_t d c_test_client.h: - function(const StructName * m) test_client.cpp: - write_StructName_struct - write_StructName_struct - data->d - void I_client::function(const StructName * m) - write_StructName_struct(codec, m) - void I_client::functionName2(const StructName * m) c_test_server.h: - function(const StructName * m) test_server.cpp: - read_StructName_struct - read_StructName_struct - data->d - function_shim - StructName *m = NULL; - read_StructName_struct(codec, m) - function(m); - erpc_free(m); - functionName2(m); c_test_server.cpp: - ERPC_MANUALLY_CONSTRUCTED_STATIC(I_service, s_I_service); - create_I_service