1 2 3 4 5 6 7 8 9
#include "FPResource.h" FPResourceType resGetType(FPResource *_this) { return(_this->type); } int resGetId(FPResource *_this) { return(_this->id); }