MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / PointersService_server

Class PointersService_server

test/test_arrays/test_arrays_server_impl.cpp:381–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379void testFunction(){};
380
381class PointersService_server : public PointersService_interface
382{
383public:
384 int32_t (*sendReceivedInt32(const int32_t arrayNumbers[12]))[12]
385 {
386 int32_t(*result)[12] = NULL;
387 result = ::sendReceivedInt32(arrayNumbers);
388
389 return result;
390 }
391
392 int32_t (*sendReceived2Int32(int32_t arrayNumbers[12][10]))[12][10]
393 {
394 int32_t(*result)[12][10] = NULL;
395 result = ::sendReceived2Int32(arrayNumbers);
396
397 return result;
398 }
399
400 char *(*sendReceivedString(char *arrayStrings[12]))[12]
401 {
402 char *(*result)[12] = NULL;
403 result = ::sendReceivedString(arrayStrings);
404
405 return result;
406 }
407
408 char *(*sendReceived2String(char *arrayStrings[3][5]))[3][5]
409 {
410 char *(*result)[3][5] = NULL;
411 result = ::sendReceived2String(arrayStrings);
412
413 return result;
414 }
415
416 enumColor (*sendReceivedEnum(const enumColor arrayEnums[3]))[3]
417 {
418 enumColor(*result)[3] = NULL;
419 result = ::sendReceivedEnum(arrayEnums);
420
421 return result;
422 }
423
424 enumColor (*sendReceived2Enum(enumColor arrayEnums[3][3]))[3][3]
425 {
426 enumColor(*result)[3][3] = NULL;
427 result = ::sendReceived2Enum(arrayEnums);
428
429 return result;
430 }
431
432 list_int32_1_t (*sendReceivedList(const list_int32_1_t arrayLists[2]))[2]
433 {
434 list_int32_1_t(*result)[2] = NULL;
435 result = ::sendReceivedList(arrayLists);
436
437 return result;
438 }

Callers

nothing calls this directly

Calls 7

sendReceivedInt32Function · 0.85
sendReceived2Int32Function · 0.85
sendReceivedStringFunction · 0.85
sendReceived2StringFunction · 0.85
sendReceivedEnumFunction · 0.85
sendReceived2EnumFunction · 0.85
sendReceiveStructFunction · 0.85

Tested by

no test coverage detected