|
#define | MALLOC(TYPE, COUNT) ((TYPE*)_malloc(sizeof(TYPE) * COUNT)) |
#define | CALLOC(TYPE, COUNT) ((TYPE*)_calloc(1, sizeof(TYPE) * COUNT)) |
#define | NEW(TYPE) CALLOC(TYPE,1) |
#define | SUPER(VALUE) (&VALUE->super) |
#define | SUPER_CAST(TYPE, VALUE) ((TYPE*)VALUE) |
#define | SUB_CAST(TYPE, VALUE) ((TYPE*)VALUE) |
#define | CONST_CAST(TYPE, VALUE) (*(TYPE*)&VALUE) |
#define | VTABLE(TYPE, VALUE) ((_##TYPE##Vtable*)((TYPE*)VALUE)->vtable) |
#define | FREE(VALUE) _free((void*)VALUE) |
#define | MALLOC_STR(TO, FROM) strcpy(CONST_CAST(char*, TO) = (char*)malloc(strlen(FROM) + 1), FROM) |
|
void | (AtlasPage *self, const char *path) |
var | ( var self, var path) |
local | ( local self, local path) |
void | (AtlasPage *self) |
var | ( var self) |
local | ( local self) |
char * | (const char *path, int *length) |
var | ( var path, var length) |
local | ( local path, local length) |
void * | (size_t size) |
var | ( var size) |
local | ( local size) |
void * | (size_t num, size_t size) |
var | ( var num, var size) |
local | ( local num, local size) |
void | (void *ptr) |
local | ( local ptr) |
void | (void *(*_malloc)(size_t size)) |
local | () |
void | (void(*_free)(void *ptr)) |
char * | (const char *path, int *length) |
var | ( var path, var length) |
local | ( local path, local length) |
void | (AttachmentLoader *self, void(*dispose)(AttachmentLoader *self), Attachment *(*newAttachment)(AttachmentLoader *self, Skin *skin, AttachmentType type, const char *name)) |
var | ( var self, var self, var skin, var type) |
local | ( local self, local self, local skin, local type) |
void | (AttachmentLoader *self) |
var | ( var self) |
local | ( local self) |
void | (AttachmentLoader *self, const char *error1, const char *error2) |
var | ( var self, var error1, var error2) |
local | ( local self, local error1, local error2) |
void | (AttachmentLoader *self, AttachmentType type) |
var | ( var self, var type) |
local | ( local self, local type) |
void | (Attachment *self, const char *name, AttachmentType type, void(*dispose)(Attachment *self)) |
var | ( var self, var name, var type) |
local | ( local self, local name, local type) |
void | (Attachment *self) |
void | (Timeline *self, void(*dispose)(Timeline *self), void(*apply)(const Timeline *self, Skeleton *skeleton, float time, float alpha)) |
var | ( var self, var self, var skeleton, var time) |
local | ( local self, local self, local skeleton, local time) |
void | (Timeline *self) |
local | ( local self) |
void | (CurveTimeline *self, int frameCount, void(*dispose)(Timeline *self), void(*apply)(const Timeline *self, Skeleton *skeleton, float time, float alpha)) |
var | ( var self, var frameCount, var self, var skeleton, var time) |
local | ( local self, local frameCount, local self, local skeleton, local time) |
void | (CurveTimeline *self) |