#include "CPythonObjectBorrowed.h"
Public Member Functions | |
CPythonObjectBorrowed (PyObject *borrowedRef) | |
void | reset (PyObject *ref) |
void | reset (CPythonObject &&other) |
Public Member Functions inherited from CPythonObject | |
CPythonObject (PyObject *ref) | |
Py_ssize_t | getRefCount () const |
CPythonObject & | operator= (const CPythonObject &other)=delete |
CPythonObject (const CPythonObject &other)=delete | |
CPythonObject & | operator= (CPythonObject &&other) noexcept |
CPythonObject (CPythonObject &&other) noexcept | |
void | reset (CPythonObject &&other) |
operator PyObject * () const | |
bool | ReferenceIsSet () |
void | DropOwnership () |
void | FreePythonObject () |
~CPythonObject () | |
Additional Inherited Members | |
Protected Attributes inherited from CPythonObject | |
PyObject * | _ref |
|
inline |
|
inline |
|
inline |