mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
29 lines
891 B
C
29 lines
891 B
C
/* ******************************** */
|
|
/* Warning! Don't modify this file! */
|
|
/* ******************************** */
|
|
#include "PikaStdLib_MemChecker.h"
|
|
#include "BaseObj.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "BaseObj.h"
|
|
|
|
void PikaStdLib_MemChecker_maxMethod(PikaObj *self, Args *args){
|
|
PikaStdLib_MemChecker_max(self);
|
|
}
|
|
|
|
void PikaStdLib_MemChecker_nowMethod(PikaObj *self, Args *args){
|
|
PikaStdLib_MemChecker_now(self);
|
|
}
|
|
|
|
void PikaStdLib_MemChecker_resetMaxMethod(PikaObj *self, Args *args){
|
|
PikaStdLib_MemChecker_resetMax(self);
|
|
}
|
|
|
|
PikaObj *New_PikaStdLib_MemChecker(Args *args){
|
|
PikaObj *self = New_BaseObj(args);
|
|
class_defineMethod(self, "max()", PikaStdLib_MemChecker_maxMethod);
|
|
class_defineMethod(self, "now()", PikaStdLib_MemChecker_nowMethod);
|
|
class_defineMethod(self, "resetMax()", PikaStdLib_MemChecker_resetMaxMethod);
|
|
return self;
|
|
}
|