Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPPEnum.h
Go to the documentation of this file.
1#ifndef CPYRT_CPPENUM_H
2#define CPYRT_CPPENUM_H
3
4namespace cppjit::cpyrt {
5
6// CPPEnum does not carry any additional C-side data for now, but can be of
7// several types, based on the declared or compile-dependent types chosen.
9
10//- creation -----------------------------------------------------------------
11CPPEnum* CPPEnum_New(const std::string& name, interop::TCppScope_t scope);
12
13PyObject* pyval_from_enum(const std::string& enum_type, PyObject* pytype,
14 PyObject* btype, interop::TCppScope_t enum_constant);
15} // namespace cppjit::cpyrt
16
17#endif // !CPYRT_CPPENUM_H
_object PyObject
char name[80]
Definition TGX11.cxx:142
PyObject * pyval_from_enum(const std::string &enum_type, PyObject *pytype, PyObject *btype, interop::TCppScope_t enum_constant)
Definition CPPEnum.cxx:23
PyObject CPPEnum
Definition CPPEnum.h:8
CPPEnum * CPPEnum_New(const std::string &name, interop::TCppScope_t scope)
Definition CPPEnum.cxx:156
Cpp::DeclRef TCppScope_t
Definition API.h:41