mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
27 lines
747 B
C
27 lines
747 B
C
/* ******************************** */
|
|
/* Warning! Don't modify this file! */
|
|
/* ******************************** */
|
|
#include "PikaStdLib.h"
|
|
#include "TinyObj.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "BaseObj.h"
|
|
|
|
void PikaStdLib_MemCheckerMethod(PikaObj *self, Args *args){
|
|
Arg * res = PikaStdLib_MemChecker(self);
|
|
method_returnArg(args, res);
|
|
}
|
|
|
|
void PikaStdLib_SysObjMethod(PikaObj *self, Args *args){
|
|
Arg * res = PikaStdLib_SysObj(self);
|
|
method_returnArg(args, res);
|
|
}
|
|
|
|
PikaObj *New_PikaStdLib(Args *args){
|
|
PikaObj *self = New_TinyObj(args);
|
|
class_defineMethod(self, "MemChecker()->any", PikaStdLib_MemCheckerMethod);
|
|
class_defineMethod(self, "SysObj()->any", PikaStdLib_SysObjMethod);
|
|
return self;
|
|
}
|
|
|