#include <pybind11/pytypes.h>
#include "common.h"
#include "internals.h"
#include <typeinfo>
Go to the source code of this file.
◆ PYBIND11_HAS_CPP_CONDUIT
#define PYBIND11_HAS_CPP_CONDUIT 1 |
◆ is_instance_method_of_type()
bool is_instance_method_of_type |
( |
PyTypeObject * |
type_obj, |
|
|
PyObject * |
attr_name |
|
) |
| |
|
inline |
◆ pybind11_object_new()
PyObject* pybind11_object_new |
( |
PyTypeObject * |
type, |
|
|
PyObject * |
, |
|
|
PyObject * |
|
|
) |
| |
|
inline |
Instance creation function for all pybind11 types. It only allocates space for the C++ object, but doesn't call the constructor – an __init__
function must do that.
Definition at line 369 of file class.h.
◆ try_get_cpp_conduit_method()
object try_get_cpp_conduit_method |
( |
PyObject * |
obj | ) |
|
|
inline |
◆ try_raw_pointer_ephemeral_from_cpp_conduit()
void* try_raw_pointer_ephemeral_from_cpp_conduit |
( |
handle |
src, |
|
|
const std::type_info * |
cpp_type_info |
|
) |
| |
|
inline |
◆ type_is_managed_by_our_internals()
bool type_is_managed_by_our_internals |
( |
PyTypeObject * |
type_obj | ) |
|
|
inline |