-
Danilo Piparo authored
these are internal Cppyy utilities. In principle it would be better to expose them in cppyy and use them in PyROOT and not duplicate the code. This commit at least avoid to duplicate the code only once.
Danilo Piparo authoredthese are internal Cppyy utilities. In principle it would be better to expose them in cppyy and use them in PyROOT and not duplicate the code. This commit at least avoid to duplicate the code only once.
PyzCppHelpers.hxx 795 B
// 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. *
*************************************************************************/
struct _object;
typedef _object PyObject;
class TClass;
namespace CPyCppyy {
class CPPInstance;
}
PyObject *CallPyObjMethod(PyObject *obj, const char *meth, PyObject *arg1);
TClass *OP2TCLASS(CPyCppyy::CPPInstance *pyobj);