mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add lib file
This commit is contained in:
parent
b856dc680d
commit
8f0d8fe59f
@ -0,0 +1,17 @@
|
||||
#include "PikaObj.h"
|
||||
#include "PikaStdLib_SysObj.h"
|
||||
#include "PikaStdData_Dict.h"
|
||||
|
||||
Arg* PikaStdData_Dict_get(PikaObj* self, char* key) {
|
||||
return arg_copy(obj_getArg(self, key));
|
||||
}
|
||||
|
||||
void PikaStdData_Dict___init__(PikaObj* self) {}
|
||||
|
||||
void PikaStdData_Dict_set(PikaObj* self, Arg* arg, char* key) {
|
||||
obj_setArg(self, key, arg);
|
||||
}
|
||||
|
||||
void PikaStdData_Dict_remove(PikaObj* self, char* key) {
|
||||
PikaStdLib_SysObj_remove(self, key);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user