|
|
@ -72,15 +72,13 @@ __toJson(struct PACKET * _this) |
|
|
INIT_CCLASS(PACKET, __jsonConst, __toJson); |
|
|
INIT_CCLASS(PACKET, __jsonConst, __toJson); |
|
|
|
|
|
|
|
|
struct DYNTYPE * |
|
|
struct DYNTYPE * |
|
|
packet_getHeader( |
|
|
|
|
|
struct PACKET * _this) |
|
|
|
|
|
|
|
|
packet_getHeader(struct PACKET * _this) |
|
|
{ |
|
|
{ |
|
|
return _this->content[PACKET_HEADER]; |
|
|
return _this->content[PACKET_HEADER]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
struct DYNTYPE * |
|
|
struct DYNTYPE * |
|
|
packet_getData( |
|
|
|
|
|
struct PACKET * _this) |
|
|
|
|
|
|
|
|
packet_getData(struct PACKET * _this) |
|
|
{ |
|
|
{ |
|
|
return _this->content[PACKET_DATA]; |
|
|
return _this->content[PACKET_DATA]; |
|
|
} |
|
|
} |
|
|
|