You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a project using the JavaCPP Preset for CPython. I am trying to check the type of a PyObject, but it appears that the Py*_Check methods (such as PyLong_Check, PyFloat_Check, etc.) are not available in the preset.
These methods are integral to the Python C API and are commonly used to ascertain the type of a PyObject. They are essential for my project as I need to handle different types of PyObjects differently.
Currently, I am using the following workaround, but the presence of those check macros would be beneficial and would ensure the completeness of the preset:
I am currently working on a project using the JavaCPP Preset for CPython. I am trying to check the type of a
PyObject
, but it appears that thePy*_Check
methods (such asPyLong_Check
,PyFloat_Check
, etc.) are not available in the preset.These methods are integral to the Python C API and are commonly used to ascertain the type of a
PyObject
. They are essential for my project as I need to handle different types ofPyObjects
differently.Currently, I am using the following workaround, but the presence of those check macros would be beneficial and would ensure the completeness of the preset:
Preset used:
org.bytedeco:cpython-platform:3.12.1-1.5.10
The text was updated successfully, but these errors were encountered: