2021-10-01 00:21:50 +08:00

14 lines
487 B
C

#ifndef METHOD__H
#define METHOD__H
#include "dataArgs.h"
void method_returnStr(Args *args, char *val);
void method_returnInt(Args *args, int val);
void method_returnFloat(Args *args, float val);
void method_returnPtr(Args *args, void *val);
void method_sysOut(Args *args, char *str);
int method_getInt(Args *args, char *argName);
float method_getFloat(Args *args, char *argName);
char *method_getStr(Args *args, char *argName);
void method_setErrorCode(Args *args, int errCode);
#endif