13 #ifndef __PY_CallMethod_h__
14 #define __PY_CallMethod_h__
32 template <
typename ...Args>
34 void *opaque_python_object,
const char *method_name,
42 python_object, method_name, format, std::forward<Args>(
args)...);
PY_API PY_Result PYextractResultFromPythonObject(void *opaque_python_object, PY_Result::Type desired_result_type)
GLint GLint GLsizei GLint GLenum format
PY_API PY_PyObject * PY_PyObject_CallMethod(PY_PyObject *o, const char *name, const char *format,...)
PY_API PY_Result PYextractPythonException()
**If you just want to fire and args
PY_Result PYcallMethodOnPythonObjectWithArgs(void *opaque_python_object, const char *method_name, PY_Result::Type desired_result_type, const char *format, Args &&...args)