mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update pikatsddata_String.c
This commit is contained in:
parent
2fca76daa0
commit
105becd7de
@ -9,6 +9,10 @@ void PikaStdData_String_set(PikaObj* self, char* s) {
|
||||
obj_setStr(self, "str", s);
|
||||
}
|
||||
|
||||
void PikaStdData_String___init__(PikaObj* self, char* s) {
|
||||
PikaStdData_String_set(self, s);
|
||||
}
|
||||
|
||||
char* PikaStdData_String_get(PikaObj* self) {
|
||||
return obj_getStr(self, "str");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user