mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update PikaStdLib
This commit is contained in:
parent
59765c4ee2
commit
83ebe9d398
@ -119,6 +119,10 @@ class SysObj:
|
||||
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
||||
def help(name: str): ...
|
||||
|
||||
@staticmethod
|
||||
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
||||
def reboot(): ...
|
||||
|
||||
|
||||
@PIKA_C_MACRO_IF("0")
|
||||
class RangeObj:
|
||||
|
@ -682,3 +682,7 @@ void PikaStdLib_SysObj_help(PikaObj* self, char* name) {
|
||||
obj_printModules((PikaObj*)__pikaMain);
|
||||
}
|
||||
}
|
||||
|
||||
void PikaStdLib_SysObj_reboot(PikaObj *self){
|
||||
pika_platform_reboot();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user