| 97 | // } |
| 98 | |
| 99 | list_enumColor_1_t *sendReceivedEnum(const list_enumColor_1_t *received_list) |
| 100 | { |
| 101 | list_enumColor_1_t *send_list = (list_enumColor_1_t *)erpc_malloc(sizeof(list_enumColor_1_t)); |
| 102 | send_list->elementsCount = received_list->elementsCount; |
| 103 | enumColor *list_s = send_list->elements = (enumColor *)erpc_malloc(send_list->elementsCount * sizeof(enumColor)); |
| 104 | enumColor *list_r = received_list->elements; |
| 105 | |
| 106 | for (uint32_t i = 0; i < send_list->elementsCount; ++i) |
| 107 | { |
| 108 | *list_s = *list_r; |
| 109 | ++list_s; |
| 110 | ++list_r; |
| 111 | } |
| 112 | |
| 113 | return send_list; |
| 114 | } |
| 115 | |
| 116 | list_enumColor_2_t *sendReceived2Enum(const list_enumColor_2_t *received_list) |
| 117 | { |
no test coverage detected