// ---- ying_core_Thread.cpp: auto generated by YInG - the YAC interface generator (Tue, 7/May/2019 13:15:25)

sSI   YAC_CALL Thread___create      (void *, yacmemptr             );
void  YAC_CALL Thread___kill        (void *                        );
sSI   YAC_CALL Thread___wait        (void *                        );
sSI   YAC_CALL Thread___getId       (void *                        );
void  YAC_CALL Thread___setUserdata (void *, yacmemptr             );
void* YAC_CALL Thread___getUserdata (void *                        );
sSI   YAC_CALL Thread___isRunning   (void *                        );
void  YAC_CALL Thread___setName     (void *, yacmemptr             );
void  YAC_CALL Thread___getName     (void *, YAC_Value *           );
void  YAC_CALL Thread___setPriority (void *, yacmemptr             );
sSI   YAC_CALL Thread___getPriority (void *                        );
void  YAC_CALL Thread___SetProcessPriorityClass(void *, yacmemptr  );
sSI   YAC_CALL Thread___SetProcessAffinityMask32(void *, yacmemptr );
sSI   YAC_CALL Thread___GetMaxAffinityMask32(void *                );
void  YAC_CALL Thread___setAffinityMask32(void *, yacmemptr        );
void  YAC_CALL Thread___setCPUCore  (void *, yacmemptr             );
void  YAC_CALL Thread___allocEventQueue(void *, yacmemptr          );
sSI   YAC_CALL Thread___sendEvent   (void *, yacmemptr             );
void* YAC_CALL Thread___peekEvent   (void *                        );
void* YAC_CALL Thread___peekEventById(void *, yacmemptr            );
void  YAC_CALL Thread___waitEvent   (void *, yacmemptr, YAC_Value *);
void  YAC_CALL Thread___waitEventById(void *, yacmemptr, YAC_Value *);
sSI   YAC_CALL Thread___rand        (void *                        );
void  YAC_CALL Thread___srand       (void *, yacmemptr             );

// ------------------ YAC class "_Thread" reflection map (implementation) ------------------
sUI          YAC_VCALL _Thread::yacMemberGetNum                  (void) {return 0;}
const char **YAC_VCALL _Thread::yacMemberGetNames                (void) {return 0;}
const sUI   *YAC_VCALL _Thread::yacMemberGetTypes                (void) {return 0;}
const char **YAC_VCALL _Thread::yacMemberGetObjectTypes          (void) {return 0;}
const sU8  **YAC_VCALL _Thread::yacMemberGetOffsets              (void) {return (const sU8**)0;}
sUI          YAC_VCALL _Thread::yacMethodGetNum                  (void) {return 25;}
const char **YAC_VCALL _Thread::yacMethodGetNames                (void) {static const char *r[]={"operator", "create", "kill", "wait", "getId", "setUserdata", "getUserdata", "isRunning", "setName", "getName", "setPriority", "getPriority", "SetProcessPriorityClass", "SetProcessAffinityMask32", "GetMaxAffinityMask32", "setAffinityMask32", "setCPUCore", "allocEventQueue", "sendEvent", "peekEvent", "peekEventById", "waitEvent", "waitEventById", "rand", "srand"}; return r;}
const sUI   *YAC_VCALL _Thread::yacMethodGetNumParameters        (void) {static const sUI r[]={2, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 2, 0, 1}; return r;}
const sUI  **YAC_VCALL _Thread::yacMethodGetParameterTypes       (void) {static const sUI rt0[]={1,3};static const sUI rt1[]={3,};static const sUI rt2[]={0,};static const sUI rt3[]={0,};static const sUI rt4[]={0,};static const sUI rt5[]={3,};static const sUI rt6[]={0,};static const sUI rt7[]={0,};static const sUI rt8[]={3,};static const sUI rt9[]={0,};static const sUI rt10[]={1,};static const sUI rt11[]={0,};static const sUI rt12[]={1,};static const sUI rt13[]={1,};static const sUI rt14[]={0,};static const sUI rt15[]={1,};static const sUI rt16[]={1,};static const sUI rt17[]={1,};static const sUI rt18[]={3,};static const sUI rt19[]={0,};static const sUI rt20[]={1,};static const sUI rt21[]={1,};static const sUI rt22[]={1, 1,};static const sUI rt23[]={0,};static const sUI rt24[]={1,};static const sUI *r[]={rt0, rt1, rt2, rt3, rt4, rt5, rt6, rt7, rt8, rt9, rt10, rt11, rt12, rt13, rt14, rt15, rt16, rt17, rt18, rt19, rt20, rt21, rt22, rt23, rt24}; return r;}
const char***YAC_VCALL _Thread::yacMethodGetParameterObjectTypes (void) {static const char *rs0[]={0,"",};static const char *rs1[]={(const char*)0,};static const char *rs2[]={(const char*)0,};static const char *rs3[]={(const char*)0,};static const char *rs4[]={(const char*)0,};static const char *rs5[]={(const char*)0,};static const char *rs6[]={(const char*)0,};static const char *rs7[]={(const char*)0,};static const char *rs8[]={"String",};static const char *rs9[]={(const char*)0,};static const char *rs10[]={(const char*)0,};static const char *rs11[]={(const char*)0,};static const char *rs12[]={(const char*)0,};static const char *rs13[]={(const char*)0,};static const char *rs14[]={(const char*)0,};static const char *rs15[]={(const char*)0,};static const char *rs16[]={(const char*)0,};static const char *rs17[]={(const char*)0,};static const char *rs18[]={(const char*)0,};static const char *rs19[]={(const char*)0,};static const char *rs20[]={(const char*)0,};static const char *rs21[]={(const char*)0,};static const char *rs22[]={(const char*)0, (const char*)0,};static const char *rs23[]={(const char*)0,};static const char *rs24[]={(const char*)0,};static const char**r[]={rs0, rs1, rs2, rs3, rs4, rs5, rs6, rs7, rs8, rs9, rs10, rs11, rs12, rs13, rs14, rs15, rs16, rs17, rs18, rs19, rs20, rs21, rs22, rs23, rs24}; return r;}
const sUI   *YAC_VCALL _Thread::yacMethodGetReturnTypes          (void) {static const sUI r[]={4, 1, 0, 1, 1, 0, 3, 1, 0, 4, 0, 1, 0, 1, 1, 0, 0, 0, 1, 3, 3, 4, 4, 1, 0}; return r;}
const char **YAC_VCALL _Thread::yacMethodGetReturnObjectTypes    (void) {static const char *r[]={"", (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0, (const char*)0}; return r;}
const void **YAC_VCALL _Thread::yacMethodGetAdr                  (void) {static const void *r[]={(void*)Object__operator, (void*)Thread___create, (void*)Thread___kill, (void*)Thread___wait, (void*)Thread___getId, (void*)Thread___setUserdata, (void*)Thread___getUserdata, (void*)Thread___isRunning, (void*)Thread___setName, (void*)Thread___getName, (void*)Thread___setPriority, (void*)Thread___getPriority, (void*)Thread___SetProcessPriorityClass, (void*)Thread___SetProcessAffinityMask32, (void*)Thread___GetMaxAffinityMask32, (void*)Thread___setAffinityMask32, (void*)Thread___setCPUCore, (void*)Thread___allocEventQueue, (void*)Thread___sendEvent, (void*)Thread___peekEvent, (void*)Thread___peekEventById, (void*)Thread___waitEvent, (void*)Thread___waitEventById, (void*)Thread___rand, (void*)Thread___srand}; return r;}
sUI          YAC_VCALL _Thread::yacConstantGetNum                (void) {return 11;}
const char **YAC_VCALL _Thread::yacConstantGetNames              (void) {static const char*r[]={"THREAD_PRIORITY_ABOVE_NORMAL", "THREAD_PRIORITY_BELOW_NORMAL", "THREAD_PRIORITY_HIGHEST", "THREAD_PRIORITY_IDLE", "THREAD_PRIORITY_LOWEST", "THREAD_PRIORITY_NORMAL", "THREAD_PRIORITY_TIME_CRITICAL", "PROCESS_PRIORITY_CLASS_IDLE", "PROCESS_PRIORITY_CLASS_NORMAL", "PROCESS_PRIORITY_CLASS_HIGH", "PROCESS_PRIORITY_CLASS_REALTIME"}; return r;}
const sUI   *YAC_VCALL _Thread::yacConstantGetTypes              (void) {static const sUI r[]={1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; return r;}
yacmemptr    YAC_VCALL _Thread::yacConstantGetValues             (void) {static sUI r[11]; yacmemptr m; m.ui=r; m.si[0]=(sSI)1;m.si[1]=(sSI)-1;m.si[2]=(sSI)2;m.si[3]=(sSI)-15;m.si[4]=(sSI)-2;m.si[5]=(sSI)0;m.si[6]=(sSI)15;m.si[7]=(sSI)0;m.si[8]=(sSI)1;m.si[9]=(sSI)2;m.si[10]=(sSI)3;; return m;}

sSI   YAC_CALL Thread___create      (void *_o, yacmemptr _args               ) {return (sSI)((_Thread*)_o)->_create(_args.mem[0].o);}
void  YAC_CALL Thread___kill        (void *_o                                ) {((_Thread*)_o)->_kill();}
sSI   YAC_CALL Thread___wait        (void *_o                                ) {return (sSI)((_Thread*)_o)->_wait();}
sSI   YAC_CALL Thread___getId       (void *_o                                ) {return (sSI)((_Thread*)_o)->_getId();}
void  YAC_CALL Thread___setUserdata (void *_o, yacmemptr _args               ) {((_Thread*)_o)->_setUserdata(_args.mem[0].o);}
void* YAC_CALL Thread___getUserdata (void *_o                                ) {return (void*)((_Thread*)_o)->_getUserdata();}
sSI   YAC_CALL Thread___isRunning   (void *_o                                ) {return (sSI)((_Thread*)_o)->_isRunning();}
void  YAC_CALL Thread___setName     (void *_o, yacmemptr _args               ) {if(YAC_BCHK(_args.mem[0].o, YAC_CLID_STRING)){ ((_Thread*)_o)->_setName((YAC_String*)_args.mem[0].o);}}
void  YAC_CALL Thread___getName     (void *_o, YAC_Value *_r                 ) {((_Thread*)_o)->_getName(_r);}
void  YAC_CALL Thread___setPriority (void *_o, yacmemptr _args               ) {((_Thread*)_o)->_setPriority(_args.mem[0].si);}
sSI   YAC_CALL Thread___getPriority (void *_o                                ) {return (sSI)((_Thread*)_o)->_getPriority();}
void  YAC_CALL Thread___SetProcessPriorityClass(void *_o, yacmemptr _args    ) {((_Thread*)_o)->_SetProcessPriorityClass(_args.mem[0].si);}
sSI   YAC_CALL Thread___SetProcessAffinityMask32(void *_o, yacmemptr _args   ) {return (sSI)((_Thread*)_o)->_SetProcessAffinityMask32(_args.mem[0].si);}
sSI   YAC_CALL Thread___GetMaxAffinityMask32(void *_o                        ) {return (sSI)((_Thread*)_o)->_GetMaxAffinityMask32();}
void  YAC_CALL Thread___setAffinityMask32(void *_o, yacmemptr _args          ) {((_Thread*)_o)->_setAffinityMask32(_args.mem[0].si);}
void  YAC_CALL Thread___setCPUCore  (void *_o, yacmemptr _args               ) {((_Thread*)_o)->_setCPUCore(_args.mem[0].si);}
void  YAC_CALL Thread___allocEventQueue(void *_o, yacmemptr _args            ) {((_Thread*)_o)->_allocEventQueue(_args.mem[0].si);}
sSI   YAC_CALL Thread___sendEvent   (void *_o, yacmemptr _args               ) {return (sSI)((_Thread*)_o)->_sendEvent(_args.mem[0].o);}
void* YAC_CALL Thread___peekEvent   (void *_o                                ) {return (void*)((_Thread*)_o)->_peekEvent();}
void* YAC_CALL Thread___peekEventById(void *_o, yacmemptr _args              ) {return (void*)((_Thread*)_o)->_peekEventById(_args.mem[0].si);}
void  YAC_CALL Thread___waitEvent   (void *_o, yacmemptr _args, YAC_Value *_r) {((_Thread*)_o)->_waitEvent(_args.mem[0].si, _r);}
void  YAC_CALL Thread___waitEventById(void *_o, yacmemptr _args, YAC_Value *_r) {((_Thread*)_o)->_waitEventById(_args.mem[0].si, _args.mem[1].si, _r);}
sSI   YAC_CALL Thread___rand        (void *_o                                ) {return (sSI)((_Thread*)_o)->_rand();}
void  YAC_CALL Thread___srand       (void *_o, yacmemptr _args               ) {((_Thread*)_o)->_srand(_args.mem[0].si);}
