mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
30 lines
937 B
C
30 lines
937 B
C
/* ******************************** */
|
|
/* Warning! Don't modify this file! */
|
|
/* ******************************** */
|
|
#include "PikaStdData_dict_keys.h"
|
|
#include "TinyObj.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "BaseObj.h"
|
|
|
|
void PikaStdData_dict_keys___iter__Method(PikaObj *self, Args *args){
|
|
Arg* res = PikaStdData_dict_keys___iter__(self);
|
|
method_returnArg(args, res);
|
|
}
|
|
|
|
void PikaStdData_dict_keys___next__Method(PikaObj *self, Args *args){
|
|
Arg* res = PikaStdData_dict_keys___next__(self);
|
|
method_returnArg(args, res);
|
|
}
|
|
|
|
PikaObj *New_PikaStdData_dict_keys(Args *args){
|
|
PikaObj *self = New_TinyObj(args);
|
|
class_defineMethod(self, "__iter__()->any", PikaStdData_dict_keys___iter__Method);
|
|
class_defineMethod(self, "__next__()->any", PikaStdData_dict_keys___next__Method);
|
|
return self;
|
|
}
|
|
|
|
Arg *PikaStdData_dict_keys(PikaObj *self){
|
|
return obj_newObjInPackage(New_PikaStdData_dict_keys);
|
|
}
|