mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
make some clean.
This commit is contained in:
parent
53fa193355
commit
0f1abcb1f6
@ -42,7 +42,7 @@ using module = module_;
|
|||||||
namespace pkbind::impl { \
|
namespace pkbind::impl { \
|
||||||
auto _module_##name = [] { \
|
auto _module_##name = [] { \
|
||||||
::pkbind::action::register_start([] { \
|
::pkbind::action::register_start([] { \
|
||||||
auto m = ::pkbind::module_(py_newmodule(#name), ::pkbind::object::ref_t{}); \
|
auto m = ::pkbind::module_::create(#name); \
|
||||||
_pkbind_register_##name(m); \
|
_pkbind_register_##name(m); \
|
||||||
}); \
|
}); \
|
||||||
return 1; \
|
return 1; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user