Class that holds an owned or weak (borrowed) reference to a Python object.
More...
#include <PythonHandle.h>
Class that holds an owned or weak (borrowed) reference to a Python object.
Definition at line 16 of file PythonHandle.h.
◆ PythonHandle()
Create a handle to hold a Python object.
- Parameters
-
obj | The Python object to be held |
weak | true if this is a weak reference to the Python object and this handle is not responsible for deleting the Python object, or false if this handle should own a reference to the Python object |
Definition at line 24 of file PythonHandle.h.
◆ ~PythonHandle()
◆ get()
◆ m_obj
◆ m_weak
The documentation for this class was generated from the following file: