27 #ifndef __TR_SERIALIZABLE_H__
28 #define __TR_SERIALIZABLE_H__
49 unsigned char ** serialized,
52 TR_CALL(serializable, TR_Serializable, serialize, serialized,
63 const unsigned char * serialized,
66 TR_CALL(serializable, TR_Serializable, unserialize, serialized,
70 #endif // __TR_SERIALIZABLE_H__
#define TR_CALL(object, _iface, method,...)
void TR_unserialize(void *serializable, const unsigned char *serialized, size_t nserialized)
void(* fptr_unserialize)(void *, const unsigned char *, size_t)
TR_INTERFACE(TR_Serializable)
void(* fptr_serialize)(void *, unsigned char **, size_t *)
void TR_serialize(void *serializable, unsigned char **serialized, size_t *nserialized)