mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
15 lines
369 B
C
15 lines
369 B
C
#include "PikaObj.h"
|
|
|
|
Arg* PikaStdLib_StringObj___iter__(PikaObj* self) {
|
|
return arg_setPtr(NULL, "", TYPE_OBJECT, self);
|
|
}
|
|
|
|
Arg* PikaStdLib_StringObj___next__(PikaObj* self) {
|
|
/* start */
|
|
int iter_i = args_getInt(self->list, "iter_i");
|
|
/* iter_i is not inited */
|
|
if (-999999999 == iter_i) {
|
|
iter_i = 0;
|
|
}
|
|
return arg_setNull(NULL);
|
|
} |