-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
PyzCppHelpers.hxx
27 lines (20 loc) · 1.01 KB
/
PyzCppHelpers.hxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Author: Danilo Piparo CERN 08/2018
/*************************************************************************
* Copyright (C) 1995-2018, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef PYROOT_PYZCPPHELPERS
#define PYROOT_PYZCPPHELPERS
#include "CPyCppyy/API.h"
#include "TClass.h"
#include "ROOT/RConfig.hxx"
#include <string>
PyObject *CallPyObjMethod(PyObject *obj, const char *meth);
PyObject *CallPyObjMethod(PyObject *obj, const char *meth, PyObject *arg1);
PyObject *BoolNot(PyObject *value);
TClass *GetTClass(const PyObject *pyobj);
std::string GetScopedFinalNameFromPyObject(const PyObject *pyobj);
#endif // PYROOT_PYZCPPHELPERS