mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00:18 +00:00
cleanup whitespace shuffling in several files
This commit is contained in:
parent
796930654f
commit
d57b977074
@ -56,5 +56,4 @@ __HELP:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -370,4 +370,4 @@ struct Py_<DummyModule> final: PyObject {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
} // namespace pkpy
|
} // namespace pkpy
|
@ -5,6 +5,7 @@
|
|||||||
#include "obj.h"
|
#include "obj.h"
|
||||||
#include "repl.h"
|
#include "repl.h"
|
||||||
#include "iter.h"
|
#include "iter.h"
|
||||||
|
#include "base64.h"
|
||||||
#include "cffi.h"
|
#include "cffi.h"
|
||||||
#include "requests.h"
|
#include "requests.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
@ -920,6 +921,7 @@ inline void VM::post_init(){
|
|||||||
add_module_c(this);
|
add_module_c(this);
|
||||||
add_module_gc(this);
|
add_module_gc(this);
|
||||||
add_module_random(this);
|
add_module_random(this);
|
||||||
|
add_module_base64(this);
|
||||||
|
|
||||||
for(const char* name: {"this", "functools", "collections", "heapq", "bisect"}){
|
for(const char* name: {"this", "functools", "collections", "heapq", "bisect"}){
|
||||||
_lazy_modules[name] = kPythonLibs[name];
|
_lazy_modules[name] = kPythonLibs[name];
|
||||||
@ -1048,6 +1050,4 @@ extern "C" {
|
|||||||
std::string json = vm->read_output();
|
std::string json = vm->read_output();
|
||||||
return strdup(json.c_str());
|
return strdup(json.c_str());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
@ -434,4 +434,4 @@ const StrName __and__ = StrName::get("__and__");
|
|||||||
const StrName __or__ = StrName::get("__or__");
|
const StrName __or__ = StrName::get("__or__");
|
||||||
const StrName __xor__ = StrName::get("__xor__");
|
const StrName __xor__ = StrName::get("__xor__");
|
||||||
|
|
||||||
} // namespace pkpy
|
} // namespace pkpy
|
Loading…
x
Reference in New Issue
Block a user