mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
7964cc1af6
commit
4ccc4cb138
@ -20,6 +20,10 @@ static VM pk_default_vm;
|
|||||||
static VM* pk_all_vm[16];
|
static VM* pk_all_vm[16];
|
||||||
|
|
||||||
void py_initialize() {
|
void py_initialize() {
|
||||||
|
if(!pk_current_vm){
|
||||||
|
c11__abort("py_initialize() can only be called once!");
|
||||||
|
}
|
||||||
|
|
||||||
MemoryPools__initialize();
|
MemoryPools__initialize();
|
||||||
py_Name__initialize();
|
py_Name__initialize();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user