21 Commits

Author SHA1 Message Date
blueloveTH
9c2b96e572 add function wrapper for malloc/free 2025-07-12 21:42:18 +08:00
BLUELOVETH
a53af18ee8
Make py_Name opaque pointer (#370)
* backup

* backup

* backup

* backup

* backup

* backup

* Update codeobject.c

* backup

* Update ceval.c

* backup

* backup

* fix all

* revert ci

* fix all

* fix all

* fix pybind

* add `PK_ENABLE_CUSTOM_SNAME`
2025-06-05 22:26:28 +08:00
lisong
7b303eee2b fix: can't bind method with pointer argument. 2025-04-26 11:09:05 +08:00
lisong
fa5443e9d1 fix: can't overload static function. 2025-04-13 22:16:05 +08:00
blueloveTH
46f9e4ed4f fix pybind11 2025-03-05 02:18:38 +08:00
Kevin Eady
5bebf3e2df
add pybind11 implementation for module reload 2025-01-13 13:41:04 +01:00
Kevin Eady
30f04b4753
add pybind11 implementation for stop_iteration with value 2025-01-12 14:17:36 +01:00
Kevin Eady
bd47fd6d39
fix pybind11 implementation for error_already_set 2025-01-12 14:17:36 +01:00
ykiko
0f1abcb1f6 make some clean. 2024-10-04 18:11:24 +08:00
ykiko
53fa193355 update. 2024-10-04 18:09:06 +08:00
ykiko
41b396df9a rename module to module_. 2024-10-04 18:04:39 +08:00
ykiko
2773b9993e
Implement dynamic dlib (#309)
* lazy cpp_function and capsule.

* remove retv.

* remove type_map.

* remove object pool from initialize.

* support dynamic library.

* remove vector_bool.

* remove unused header.

* fix export name.

* fix test name.

* some fix

* some fix

* ...

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2024-09-22 21:48:10 +08:00
ykiko
2d4cf81356
add module::create (#306)
* add `module::create`

* some clean.
2024-09-08 21:37:57 +08:00
blueloveTH
972f86f781 fix pybind11 2024-09-08 18:45:31 +08:00
blueloveTH
000fd1f087 redesign py_newstrn and py_newstrv 2024-09-08 18:42:34 +08:00
ykiko
4e5021089c
fix. (#302) 2024-08-28 15:27:27 +08:00
ykiko
9564013c1d
fix memory leak in property and staticmethod. (#301)
* fix memory leak in property and staticmethod.

* some format.
2024-08-28 13:16:46 +08:00
ykiko
7e99584ddc
pybind11 for pkpy 2.0 (#299)
* update pkbind.

* some fix.

* some fix.

* update job name.

* fix CI.

* remove iostream.
2024-08-23 09:55:27 +08:00
ykiko
1c82060daf
Format the world. (#259)
* add some clang-format offs.

* add formats.

* format the world.

* AllowShortIfStatementsOnASingleLine

* off REGION.

* Rollback vm.hpp

* Disable insert.
2024-06-04 22:55:17 +08:00
blueloveTH
e4671902bb fix assert 2024-06-03 22:50:44 +08:00
ykiko
23bacf8b4d
add pybind11. (#254) 2024-05-30 23:14:31 +08:00