HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PY_CPythonAPI.h File Reference
#include "PY_API.h"
#include <UT/UT_WorkBuffer.h>
#include <SYS/SYS_Types.h>
#include <SYS/SYS_Visibility.h>
#include <hboost/preprocessor/seq/for_each.hpp>
#include <hboost/preprocessor/seq/for_each_i.hpp>
#include <hboost/preprocessor/seq/seq.hpp>
#include <hboost/preprocessor/punctuation/comma_if.hpp>
#include <hboost/preprocessor/cat.hpp>
#include <hboost/preprocessor/stringize.hpp>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
+ Include dependency graph for PY_CPythonAPI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PY_PyObject_HEAD_EXTRA
 
struct  PY_PyMethodDef
 
struct  PY_PyModuleDef_Slot
 

Macros

#define PY_FUNC_SEQ_Py_Main   ((Py_Main)(int)((int)(char **)))
 
#define PY_FUNC_SEQ_PySys_SetArgv   ((PySys_SetArgv)(void)((int)(char **)))
 
#define PY_FUNC_SEQ_PySys_SetArgvEx   ((PySys_SetArgvEx)(void)((int)(char **)(int)))
 
#define PY_WRAPPED_FUNCTIONS
 
#define PY_WRAPPED_UNCHECKED_FUNCTIONS
 
#define PY_WRAPPED_MEMORY_FUNCTIONS
 
#define PY_WRAPPED_CONSTANTS
 
#define PY_FOR_EACH_SEQ_OF_2(macro, seq)   HBOOST_PP_SEQ_FOR_EACH(PY_CALLBACK_SEQ_OF_2, macro, seq)
 
#define PY_CALLBACK_SEQ_OF_2(r, macro, seq)   macro(PY_SEQ_ELEM_0(seq), PY_SEQ_ELEM_1(seq))
 
#define PY_FOR_EACH_SEQ_OF_3(macro, seq)   HBOOST_PP_SEQ_FOR_EACH(PY_CALLBACK_SEQ_OF_3, macro, seq)
 
#define PY_CALLBACK_SEQ_OF_3(r, macro, seq)   macro(PY_SEQ_ELEM_0(seq), PY_SEQ_ELEM_1(seq), PY_SEQ_ELEM_2(seq))
 
#define PY_SEQ_ELEM_0(seq)   HBOOST_PP_SEQ_HEAD(seq)
 
#define PY_SEQ_ELEM_1(seq)   HBOOST_PP_SEQ_HEAD(HBOOST_PP_SEQ_TAIL(seq))
 
#define PY_SEQ_ELEM_2(seq)   HBOOST_PP_SEQ_HEAD(HBOOST_PP_SEQ_TAIL(HBOOST_PP_SEQ_TAIL(seq)))
 
#define PY_MAKE_PARM_LIST(parm_types)   HBOOST_PP_SEQ_FOR_EACH_I(PY_MAKE_PARM, _, parm_types)
 
#define PY_MAKE_PARM(r, unused_data, i, elem)   HBOOST_PP_COMMA_IF(i) elem HBOOST_PP_CAT(arg, i)
 
#define PY_MAKE_ARG_LIST(parm_types)   HBOOST_PP_SEQ_FOR_EACH_I(PY_MAKE_ARG, _, parm_types)
 
#define PY_MAKE_ARG(r, unused_data, i, unused_elem)   HBOOST_PP_COMMA_IF(i) HBOOST_PP_CAT(arg, i)
 
#define PY_ADD_SUBCLASS_1(subclass, base_class, member1_type, member1_name)
 
#define PY_ADD_SUBCLASS_2(subclass, base_class, member1_type, member1_name, member2_type, member2_name)
 
#define PY_DECLARE_FUNCTION_FROM_SEQ(seq)   PY_CALLBACK_SEQ_OF_3(_, PY_DECLARE_FUNCTION, seq)
 
#define PY_DECLARE_FUNCTION(function_name, return_type, parm_types)
 
#define PY_DECLARE_WRAPPED_CONSTANT(constant_name, type)   PY_API type &HBOOST_PP_CAT(PY_, constant_name)();
 
#define PY_FUNC_SEQ_PyInt_AsLong   (PyInt_AsLong)(long)((PY_PyObject *))
 
#define PY_FUNC_SEQ_PyInt_FromLong   (PyInt_FromLong)(PY_PyObject *)((long))
 
#define PY_FUNC_SEQ_PyString_AsString   (PyString_AsString)(char *)((PY_PyObject *))
 
#define PY_FUNC_SEQ_PyString_AsStringAndSize   (PyString_AsStringAndSize)(int)((PY_PyObject *)(char **)(PY_Py_ssize_t *))
 
#define PY_FUNC_SEQ_PyString_FromString   (PyString_FromString)(PY_PyObject *)((const char *))
 
#define PY_FUNC_SEQ_PyString_FromStringAndSize   (PyString_FromStringAndSize)(PY_PyObject *)((const char *)(PY_Py_ssize_t))
 
#define PY_FUNC_SEQ_PyString_AsUTF8String   (PyString_AsUTF8String)(PY_PyObject *)((PY_PyObject *))
 
#define PY_FUNC_SEQ_PyCObject_GetDesc   (PyCObject_GetDesc)(void*)((PY_PyObject *))
 
#define PY_FUNC_SEQ_PyCObject_AsVoidPtr   (PyCObject_AsVoidPtr)(void*)((PY_PyObject *))
 
#define PY_FUNC_SEQ_Py_DecodeLocale   (Py_DecodeLocale)(wchar_t *)((const char *)(size_t *))
 
#define PY_FUNC_SEQ_PyMem_RawFree   (PyMem_RawFree)(void)((void *))
 
#define PY_FUNC_SEQ_PyMem_RawMalloc   (PyMem_RawMalloc)(void *)((size_t))
 
#define PY_FUNC_SEQ_PyModule_GetState   (PyModule_GetState)(void *)((PY_PyObject *))
 
#define PY_PyInt_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyInt_Type())
 
#define PY_PyString_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyString_Type())
 
#define PY_Py_INCREF   PY_Py_IncRef
 
#define PY_Py_DECREF   PY_Py_DecRef
 
#define PY_Py_XDECREF(op)   if ((op) == NULL) ; else PY_Py_DECREF(op)
 
#define PY_Py_False()   (&PY__Py_ZeroStruct())
 
#define PY_Py_True()   (&PY__Py_TrueStruct())
 
#define PY_Py_None()   (&PY__Py_NoneStruct())
 
#define PY_Py_RETURN_NONE   return PY_Py_INCREF(PY_Py_None()), PY_Py_None()
 
#define PY_PyMODINIT_FUNC   extern "C" SYS_VISIBILITY_EXPORT void
 
#define PY_PyRun_SimpleString(s)   PY_PyRun_SimpleStringFlags(s, NULL)
 
#define PY_Py_CompileString(str, p, s)   PY_Py_CompileStringFlags(str, p, s, NULL)
 
#define PY_PyRun_InteractiveLoop(f, p)   PY_PyRun_InteractiveLoopFlags(f, p, NULL)
 
#define PY_PyList_SET_ITEM(op, i, v)   (((PY_PyListObject *)(op))->ob_item()[i] = (v))
 
#define PY_PyTuple_SET_ITEM(op, i, v)   (((PY_PyTupleObject *)(op))->ob_item()[i] = (v))
 
#define PY_PyList_GET_ITEM(op, i, v)   (((PY_PyListObject *)(op))->ob_item()[i])
 
#define PY_PyTuple_GET_ITEM(op, i)   (((PY_PyTupleObject *)(op))->ob_item()[i])
 
#define PY_PyObject_TypeCheck(ob, tp)   ((ob)->ob_type() == (tp) || PY_PyType_IsSubtype((ob)->ob_type(), (tp)))
 
#define PY_PyCObject_Check(op)   (op->ob_type() == &PY_PyCObject_Type())
 
#define PY_PyFloat_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyFloat_Type())
 
#define PY_PyLong_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyLong_Type())
 
#define PY_PyBool_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyBool_Type())
 
#define PY_PyUnicode_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyUnicode_Type())
 
#define PY_PyTuple_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyTuple_Type())
 
#define PY_PyList_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyList_Type())
 
#define PY_PyDict_Check(op)   PY_PyObject_TypeCheck(op, &PY_PyDict_Type())
 
#define PY_PyFunction_Check(op)   ((op)->ob_type() == &PY_PyFunction_Type())
 
#define PY_PyExceptionInstance_Check(op)   PY_PyObject_TypeCheck(op, (PY_PyTypeObject *)&PY_PyExc_BaseException())
 
#define PY_PYFRAME_BACK(op)   ((op)->f_back())
 
#define PY_PYFRAME_CODE(op)   ((op)->f_code())
 

Typedefs

using PY_AtExitFunc ) = void(*)(
 
typedef char *(* PY_PyOS_ReadlineFunctionPointerType )(FILE *, FILE *, char *)
 
typedef int PY_PyGILState_STATE
 
typedef ssize_t PY_Py_ssize_t
 
typedef PY_Py_ssize_t PY_Py_hash_t
 
typedef PY_PyObject *(* PY_PyCFunction )(PY_PyObject *, PY_PyObject *)
 

Functions

 PY_ADD_SUBCLASS_2 (PY_PyObject, PY_PyObject_HEAD_EXTRA, PY_Py_ssize_t, ob_refcnt, PY_PyTypeObject *, ob_type) PY_ADD_SUBCLASS_1(PY_PyVarObject
 
ob_size PY_ADD_SUBCLASS_1 (PY_PyTypeObject, PY_PyVarObject, const char *, tp_name) PY_ADD_SUBCLASS_2(PY_PyFrameObject
 
ob_size PY_PyFrameObject
PY_PyCodeObject f_code 
PY_ADD_SUBCLASS_1 (PY_PyListObject, PY_PyVarObject, PY_PyObject **, ob_item) class PY_API PY_PyTupleObject
 
PY_API PY_PyObjectPY_Py_InitModule (const char *name, PY_PyMethodDef *methods)
 
PY_API int PY_PyArg_ParseTuple (PY_PyObject *args, const char *format,...)
 
PY_API PY_PyObjectPY_Py_BuildValue (const char *format,...)
 
PY_API PY_PyObjectPY_PyObject_CallMethod (PY_PyObject *o, const char *name, const char *format,...)
 
PY_API int PY_PyGILState_Check ()
 
PY_API void PYloadPythonLibrary ()
 
PY_API int PYgetPythonVersion ()
 
PY_API void PYgetHFSPythonSitePackagesPath (UT_WorkBuffer &site_packages_path)
 
PY_API bool PYisHFSPythonLibraryLoaded ()
 

Variables

class PY_API PY_PyTypeObject
 
class PY_API PY_PyCodeObject
 
class PY_API PY_PyCompilerFlags
 
class PY_API PY_PyThreadState
 
struct PY_API PY_PyMethodDef
 
 PY_PyObject
 
ob_size PY_PyVarObject
 
ob_size PY_PyFrameObject f_back
 

Macro Definition Documentation

#define PY_ADD_SUBCLASS_1 (   subclass,
  base_class,
  member1_type,
  member1_name 
)
Value:
class PY_API subclass : public base_class \
{ \
public: \
member1_type member1_name() \
{ return pyAccessStructMember<member1_type>( \
this, base_class::theStructSize); } \
\
static void computeStructSize() \
{ theStructSize = base_class::theStructSize + sizeof(member1_type); } \
\
static int theStructSize; \
};
*But if you need a or simply need to know when the task has note that the like this
Definition: thread.h:639
#define PY_API
Definition: PY_API.h:10

Definition at line 390 of file PY_CPythonAPI.h.

#define PY_ADD_SUBCLASS_2 (   subclass,
  base_class,
  member1_type,
  member1_name,
  member2_type,
  member2_name 
)
Value:
class PY_API subclass : public base_class \
{ \
public: \
member1_type member1_name() \
{ return pyAccessStructMember<member1_type>( \
this, base_class::theStructSize); } \
\
member2_type member2_name() \
{ return pyAccessStructMember<member2_type>( \
this, base_class::theStructSize + sizeof(member1_type)); } \
\
static void computeStructSize() \
{ theStructSize = base_class::theStructSize + \
sizeof(member1_type) + sizeof(member2_type); } \
\
static int theStructSize; \
};
*But if you need a or simply need to know when the task has note that the like this
Definition: thread.h:639
#define PY_API
Definition: PY_API.h:10

Definition at line 405 of file PY_CPythonAPI.h.

#define PY_CALLBACK_SEQ_OF_2 (   r,
  macro,
  seq 
)    macro(PY_SEQ_ELEM_0(seq), PY_SEQ_ELEM_1(seq))

Definition at line 278 of file PY_CPythonAPI.h.

#define PY_CALLBACK_SEQ_OF_3 (   r,
  macro,
  seq 
)    macro(PY_SEQ_ELEM_0(seq), PY_SEQ_ELEM_1(seq), PY_SEQ_ELEM_2(seq))

Definition at line 286 of file PY_CPythonAPI.h.

#define PY_DECLARE_FUNCTION (   function_name,
  return_type,
  parm_types 
)
Value:
PY_API return_type HBOOST_PP_CAT(PY_, function_name)( \
PY_MAKE_PARM_LIST(parm_types));
#define PY_MAKE_PARM_LIST(parm_types)
#define PY_API
Definition: PY_API.h:10
ARCH_EXPORT void HBOOST_PP_CAT(init_module_, MFB_PACKAGE_NAME)()
Definition: pyModule.h:62

Definition at line 522 of file PY_CPythonAPI.h.

#define PY_DECLARE_FUNCTION_FROM_SEQ (   seq)    PY_CALLBACK_SEQ_OF_3(_, PY_DECLARE_FUNCTION, seq)

Definition at line 517 of file PY_CPythonAPI.h.

#define PY_DECLARE_WRAPPED_CONSTANT (   constant_name,
  type 
)    PY_API type &HBOOST_PP_CAT(PY_, constant_name)();

Definition at line 528 of file PY_CPythonAPI.h.

#define PY_FOR_EACH_SEQ_OF_2 (   macro,
  seq 
)    HBOOST_PP_SEQ_FOR_EACH(PY_CALLBACK_SEQ_OF_2, macro, seq)

Definition at line 273 of file PY_CPythonAPI.h.

#define PY_FOR_EACH_SEQ_OF_3 (   macro,
  seq 
)    HBOOST_PP_SEQ_FOR_EACH(PY_CALLBACK_SEQ_OF_3, macro, seq)

Definition at line 284 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_Py_DecodeLocale   (Py_DecodeLocale)(wchar_t *)((const char *)(size_t *))

Definition at line 565 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_Py_Main   ((Py_Main)(int)((int)(char **)))

Definition at line 82 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyCObject_AsVoidPtr   (PyCObject_AsVoidPtr)(void*)((PY_PyObject *))

Definition at line 563 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyCObject_GetDesc   (PyCObject_GetDesc)(void*)((PY_PyObject *))

Definition at line 561 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyInt_AsLong   (PyInt_AsLong)(long)((PY_PyObject *))

Definition at line 549 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyInt_FromLong   (PyInt_FromLong)(PY_PyObject *)((long))

Definition at line 550 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyMem_RawFree   (PyMem_RawFree)(void)((void *))

Definition at line 567 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyMem_RawMalloc   (PyMem_RawMalloc)(void *)((size_t))

Definition at line 569 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyModule_GetState   (PyModule_GetState)(void *)((PY_PyObject *))

Definition at line 571 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyString_AsString   (PyString_AsString)(char *)((PY_PyObject *))

Definition at line 551 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyString_AsStringAndSize   (PyString_AsStringAndSize)(int)((PY_PyObject *)(char **)(PY_Py_ssize_t *))

Definition at line 553 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyString_AsUTF8String   (PyString_AsUTF8String)(PY_PyObject *)((PY_PyObject *))

Definition at line 559 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyString_FromString   (PyString_FromString)(PY_PyObject *)((const char *))

Definition at line 555 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PyString_FromStringAndSize   (PyString_FromStringAndSize)(PY_PyObject *)((const char *)(PY_Py_ssize_t))

Definition at line 557 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PySys_SetArgv   ((PySys_SetArgv)(void)((int)(char **)))

Definition at line 85 of file PY_CPythonAPI.h.

#define PY_FUNC_SEQ_PySys_SetArgvEx   ((PySys_SetArgvEx)(void)((int)(char **)(int)))

Definition at line 88 of file PY_CPythonAPI.h.

#define PY_MAKE_ARG (   r,
  unused_data,
  i,
  unused_elem 
)    HBOOST_PP_COMMA_IF(i) HBOOST_PP_CAT(arg, i)

Definition at line 322 of file PY_CPythonAPI.h.

#define PY_MAKE_ARG_LIST (   parm_types)    HBOOST_PP_SEQ_FOR_EACH_I(PY_MAKE_ARG, _, parm_types)

Definition at line 319 of file PY_CPythonAPI.h.

#define PY_MAKE_PARM (   r,
  unused_data,
  i,
  elem 
)    HBOOST_PP_COMMA_IF(i) elem HBOOST_PP_CAT(arg, i)

Definition at line 311 of file PY_CPythonAPI.h.

#define PY_MAKE_PARM_LIST (   parm_types)    HBOOST_PP_SEQ_FOR_EACH_I(PY_MAKE_PARM, _, parm_types)

Definition at line 304 of file PY_CPythonAPI.h.

#define PY_Py_CompileString (   str,
  p,
  s 
)    PY_Py_CompileStringFlags(str, p, s, NULL)

Definition at line 642 of file PY_CPythonAPI.h.

#define PY_Py_DECREF   PY_Py_DecRef

Definition at line 631 of file PY_CPythonAPI.h.

#define PY_Py_False ( )    (&PY__Py_ZeroStruct())

Definition at line 634 of file PY_CPythonAPI.h.

#define PY_Py_INCREF   PY_Py_IncRef

Definition at line 630 of file PY_CPythonAPI.h.

#define PY_Py_None ( )    (&PY__Py_NoneStruct())
Examples:
HOM/_hdk_sample_hom_extensions.C.

Definition at line 636 of file PY_CPythonAPI.h.

#define PY_Py_RETURN_NONE   return PY_Py_INCREF(PY_Py_None()), PY_Py_None()

Definition at line 638 of file PY_CPythonAPI.h.

#define PY_Py_True ( )    (&PY__Py_TrueStruct())

Definition at line 635 of file PY_CPythonAPI.h.

#define PY_Py_XDECREF (   op)    if ((op) == NULL) ; else PY_Py_DECREF(op)

Definition at line 632 of file PY_CPythonAPI.h.

#define PY_PyBool_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyBool_Type())

Definition at line 661 of file PY_CPythonAPI.h.

#define PY_PyCObject_Check (   op)    (op->ob_type() == &PY_PyCObject_Type())

Definition at line 658 of file PY_CPythonAPI.h.

#define PY_PyDict_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyDict_Type())

Definition at line 665 of file PY_CPythonAPI.h.

#define PY_PyExceptionInstance_Check (   op)    PY_PyObject_TypeCheck(op, (PY_PyTypeObject *)&PY_PyExc_BaseException())

Definition at line 672 of file PY_CPythonAPI.h.

#define PY_PyFloat_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyFloat_Type())

Definition at line 659 of file PY_CPythonAPI.h.

#define PY_PYFRAME_BACK (   op)    ((op)->f_back())

Definition at line 679 of file PY_CPythonAPI.h.

#define PY_PYFRAME_CODE (   op)    ((op)->f_code())

Definition at line 680 of file PY_CPythonAPI.h.

#define PY_PyFunction_Check (   op)    ((op)->ob_type() == &PY_PyFunction_Type())

Definition at line 666 of file PY_CPythonAPI.h.

#define PY_PyInt_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyInt_Type())

Definition at line 623 of file PY_CPythonAPI.h.

#define PY_PyList_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyList_Type())

Definition at line 664 of file PY_CPythonAPI.h.

#define PY_PyList_GET_ITEM (   op,
  i,
  v 
)    (((PY_PyListObject *)(op))->ob_item()[i])

Definition at line 650 of file PY_CPythonAPI.h.

#define PY_PyList_SET_ITEM (   op,
  i,
  v 
)    (((PY_PyListObject *)(op))->ob_item()[i] = (v))

Definition at line 645 of file PY_CPythonAPI.h.

#define PY_PyLong_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyLong_Type())

Definition at line 660 of file PY_CPythonAPI.h.

#define PY_PyMODINIT_FUNC   extern "C" SYS_VISIBILITY_EXPORT void

Definition at line 639 of file PY_CPythonAPI.h.

#define PY_PyObject_TypeCheck (   ob,
  tp 
)    ((ob)->ob_type() == (tp) || PY_PyType_IsSubtype((ob)->ob_type(), (tp)))

Definition at line 656 of file PY_CPythonAPI.h.

#define PY_PyRun_InteractiveLoop (   f,
  p 
)    PY_PyRun_InteractiveLoopFlags(f, p, NULL)

Definition at line 643 of file PY_CPythonAPI.h.

#define PY_PyRun_SimpleString (   s)    PY_PyRun_SimpleStringFlags(s, NULL)

Definition at line 641 of file PY_CPythonAPI.h.

#define PY_PyString_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyString_Type())

Definition at line 624 of file PY_CPythonAPI.h.

#define PY_PyTuple_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyTuple_Type())

Definition at line 663 of file PY_CPythonAPI.h.

#define PY_PyTuple_GET_ITEM (   op,
 
)    (((PY_PyTupleObject *)(op))->ob_item()[i])

Definition at line 652 of file PY_CPythonAPI.h.

#define PY_PyTuple_SET_ITEM (   op,
  i,
  v 
)    (((PY_PyTupleObject *)(op))->ob_item()[i] = (v))

Definition at line 647 of file PY_CPythonAPI.h.

#define PY_PyUnicode_Check (   op)    PY_PyObject_TypeCheck(op, &PY_PyUnicode_Type())

Definition at line 662 of file PY_CPythonAPI.h.

#define PY_SEQ_ELEM_0 (   seq)    HBOOST_PP_SEQ_HEAD(seq)

Definition at line 292 of file PY_CPythonAPI.h.

#define PY_SEQ_ELEM_1 (   seq)    HBOOST_PP_SEQ_HEAD(HBOOST_PP_SEQ_TAIL(seq))

Definition at line 294 of file PY_CPythonAPI.h.

#define PY_SEQ_ELEM_2 (   seq)    HBOOST_PP_SEQ_HEAD(HBOOST_PP_SEQ_TAIL(HBOOST_PP_SEQ_TAIL(seq)))

Definition at line 296 of file PY_CPythonAPI.h.

#define PY_WRAPPED_CONSTANTS
Value:
((_Py_NoneStruct)(PY_PyObject)) \
((_PyOS_ReadlineTState)(PY_PyThreadState *)) \
((PyOS_ReadlineFunctionPointer)(PY_PyOS_ReadlineFunctionPointerType)) \
((PyExc_RuntimeError)(PY_PyObject *)) \
((PyExc_IndexError)(PY_PyObject *)) \
((PyExc_AttributeError)(PY_PyObject *)) \
((PyExc_TypeError)(PY_PyObject *)) \
((PyExc_KeyboardInterrupt)(PY_PyObject *)) \
((PyExc_SystemExit)(PY_PyObject *)) \
((PyExc_BaseException)(PY_PyObject *)) \
((PyLong_Type)(PY_PyTypeObject)) \
((PyBool_Type)(PY_PyTypeObject)) \
((PyFloat_Type)(PY_PyTypeObject)) \
((PyUnicode_Type)(PY_PyTypeObject)) \
((PyTuple_Type)(PY_PyTypeObject)) \
((PyList_Type)(PY_PyTypeObject)) \
((PyDict_Type)(PY_PyTypeObject)) \
((PyFunction_Type)(PY_PyTypeObject))
PY_PyObject
class PY_API PY_PyThreadState
class PY_API PY_PyTypeObject
char *(* PY_PyOS_ReadlineFunctionPointerType)(FILE *, FILE *, char *)

Definition at line 232 of file PY_CPythonAPI.h.

#define PY_WRAPPED_FUNCTIONS

Definition at line 101 of file PY_CPythonAPI.h.

#define PY_WRAPPED_MEMORY_FUNCTIONS
Value:
((PyMem_Malloc)(void *)((size_t))) \
((PyMem_Free)(void)((void *))) \
void
Definition: png.h:1083

Definition at line 218 of file PY_CPythonAPI.h.

#define PY_WRAPPED_UNCHECKED_FUNCTIONS
Value:
((Py_InitializeEx)(void)((int))) \
((Py_IsInitialized)(int)()) \
((Py_SetProgramName)(void)((char*))) \
((Py_SetPythonHome)(void)((char*))) \
((PyEval_InitThreads)(void)()) \
((PyEval_RestoreThread)(void)((PY_PyThreadState *))) \
((PyEval_SaveThread)(PY_PyThreadState *)()) \
((PyGILState_Ensure)(PY_PyGILState_STATE)()) \
((PyGILState_GetThisThreadState)(PY_PyThreadState *)()) \
int PY_PyGILState_STATE
void
Definition: png.h:1083
class PY_API PY_PyThreadState
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer

Definition at line 205 of file PY_CPythonAPI.h.

Typedef Documentation

using PY_AtExitFunc = void (*)(

Definition at line 67 of file PY_CPythonAPI.h.

Definition at line 350 of file PY_CPythonAPI.h.

Definition at line 346 of file PY_CPythonAPI.h.

typedef PY_PyObject*(* PY_PyCFunction)(PY_PyObject *, PY_PyObject *)

Definition at line 495 of file PY_CPythonAPI.h.

Definition at line 333 of file PY_CPythonAPI.h.

typedef char*(* PY_PyOS_ReadlineFunctionPointerType)(FILE *, FILE *, char *)

Definition at line 230 of file PY_CPythonAPI.h.

Function Documentation

ob_size PY_ADD_SUBCLASS_1 ( PY_PyTypeObject  ,
PY_PyVarObject  ,
const char *  ,
tp_name   
)
ob_size PY_PyFrameObject PY_PyCodeObject f_code PY_ADD_SUBCLASS_1 ( PY_PyListObject  ,
PY_PyVarObject  ,
PY_PyObject **  ,
ob_item   
)

Definition at line 474 of file PY_CPythonAPI.h.

PY_ADD_SUBCLASS_2 ( PY_PyObject  ,
PY_PyObject_HEAD_EXTRA  ,
PY_Py_ssize_t  ,
ob_refcnt  ,
PY_PyTypeObject ,
ob_type   
)
PY_API PY_PyObject* PY_Py_BuildValue ( const char *  format,
  ... 
)
PY_API PY_PyObject* PY_Py_InitModule ( const char *  name,
PY_PyMethodDef methods 
)
PY_API int PY_PyArg_ParseTuple ( PY_PyObject args,
const char *  format,
  ... 
)
PY_API int PY_PyGILState_Check ( )
PY_API PY_PyObject* PY_PyObject_CallMethod ( PY_PyObject o,
const char *  name,
const char *  format,
  ... 
)
PY_API void PYgetHFSPythonSitePackagesPath ( UT_WorkBuffer site_packages_path)
PY_API int PYgetPythonVersion ( )
PY_API bool PYisHFSPythonLibraryLoaded ( )
PY_API void PYloadPythonLibrary ( )

Variable Documentation

ob_size PY_PyFrameObject f_back

Definition at line 470 of file PY_CPythonAPI.h.

class PY_API PY_PyCodeObject

Definition at line 329 of file PY_CPythonAPI.h.

class PY_API PY_PyCompilerFlags

Definition at line 330 of file PY_CPythonAPI.h.

Definition at line 332 of file PY_CPythonAPI.h.

PY_PyObject
Examples:
HOM/_hdk_sample_hom_extensions.C.

Definition at line 464 of file PY_CPythonAPI.h.

class PY_API PY_PyThreadState

Definition at line 331 of file PY_CPythonAPI.h.

class PY_API PY_PyTypeObject

Definition at line 328 of file PY_CPythonAPI.h.

ob_size PY_PyVarObject

Definition at line 470 of file PY_CPythonAPI.h.