Macros | Functions
cross_module_gil_utils.cpp File Reference
#include <pybind11/pybind11.h>
#include <cstdint>
#include <string>
#include <thread>
Include dependency graph for cross_module_gil_utils.cpp:

Go to the source code of this file.

Macros

#define ADD_FUNCTION(Name, ...)   PyModule_AddObject(m, Name, PyLong_FromVoidPtr(reinterpret_cast<void *>(&__VA_ARGS__)));
 
#define PYBIND11_INTERNALS_VERSION   21814642
 

Functions

PYBIND11_EXPORT PyObject * PyInit_cross_module_gil_utils ()
 

Macro Definition Documentation

◆ ADD_FUNCTION

#define ADD_FUNCTION (   Name,
  ... 
)    PyModule_AddObject(m, Name, PyLong_FromVoidPtr(reinterpret_cast<void *>(&__VA_ARGS__)));

Definition at line 85 of file cross_module_gil_utils.cpp.

◆ PYBIND11_INTERNALS_VERSION

#define PYBIND11_INTERNALS_VERSION   21814642

Definition at line 12 of file cross_module_gil_utils.cpp.

Function Documentation

◆ PyInit_cross_module_gil_utils()

PYBIND11_EXPORT PyObject* PyInit_cross_module_gil_utils ( )

Definition at line 88 of file cross_module_gil_utils.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:46