|
@@ -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();
|
|
|
|
|
|