25 #include <sys/types.h>
35 TR_SizedData
this = _this;
36 char * data = va_arg(*params,
char *);
38 this->
size = va_arg(*params,
size_t);
42 memcpy(this->data, data, this->
size);
static int sizedDataCtor(void *_this, va_list *params)
TR_CREATE_CLASS(TR_SizedData, NULL, NULL, TR_IF(TR_Class))
static void sizedDataDtor(void *_this)
TR_INIT_IFACE(TR_Class, sizedDataCtor, sizedDataDtor, NULL)