Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPPOverload.cxx File Reference
#include "CPyCppyy.h"
#include "structmember.h"
#include "compile.h"
#include "CPPOverload.h"
#include "CPPInstance.h"
#include "CallContext.h"
#include "PyStrings.h"
#include "Utility.h"
#include <algorithm>
#include <sstream>
#include <vector>
Include dependency graph for CPPOverload.cxx:

Namespaces

namespace  CPyCppyy
 Set of helper functions that are invoked from the pythonizors, on the Python side.
 

Macros

#define CO_NOFREE   0x0040
 
#define CPPOverload_MAXFREELIST   32
 
#define CPPYY_BOOLEAN_PROPERTY(name, flag, label)
 

Variables

PyTypeObject CPyCppyy::CPPOverload_Type
 

Macro Definition Documentation

◆ CO_NOFREE

#define CO_NOFREE   0x0040

Definition at line 11 of file CPPOverload.cxx.

◆ CPPOverload_MAXFREELIST

#define CPPOverload_MAXFREELIST   32

Definition at line 34 of file CPPOverload.cxx.

◆ CPPYY_BOOLEAN_PROPERTY

#define CPPYY_BOOLEAN_PROPERTY (   name,
  flag,
  label 
)
Value:
static PyObject* mp_get##name(CPPOverload* pymeth, void*) { \
if (pymeth->fMethodInfo->fFlags & flag) { \
} \
} \
\
static int mp_set##name(CPPOverload* pymeth, PyObject* value, void*) { \
return set_flag(pymeth, value, flag, label); \
}
#define Py_RETURN_TRUE
Definition CPyCppyy.h:293
#define Py_RETURN_FALSE
Definition CPyCppyy.h:297
_object PyObject
char name[80]
Definition TGX11.cxx:110

Definition at line 481 of file CPPOverload.cxx.

Variable Documentation

◆ fCallable

PyObject* fCallable

Definition at line 41 of file CPPOverload.cxx.