type_caster_generic: add set_foreign_holder method for subclasses to implement (#5862) type_caster_generic: add set_foreign_holder method for subclasses to implement style: pre-commit fixes Rename try_shared_from_this -> set_via_shared_from_this to avoid confusion against try_get_shared_from_this Add comment explaining the limits of the test CI style: pre-commit fixes Fixes from code review style: pre-commit fixes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
type_caster_generic: add set_foreign_holder method for subclasses to implement (#5862)
type_caster_generic: add set_foreign_holder method for subclasses to implement
style: pre-commit fixes
Rename try_shared_from_this -> set_via_shared_from_this to avoid confusion against try_get_shared_from_this
Add comment explaining the limits of the test
CI
Fixes from code review
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
python调用C的包
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号