mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
make some clean.
This commit is contained in:
parent
53fa193355
commit
0f1abcb1f6
@ -42,7 +42,7 @@ using module = module_;
|
||||
namespace pkbind::impl { \
|
||||
auto _module_##name = [] { \
|
||||
::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); \
|
||||
}); \
|
||||
return 1; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user