ROOT
master
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
4
namespace
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.
8
typedef
PyObject
CPPEnum
;
9
10
//- creation -----------------------------------------------------------------
11
CPPEnum
*
CPPEnum_New
(
const
std::string&
name
,
interop::TCppScope_t
scope);
12
13
PyObject
*
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
PyObject
_object PyObject
Definition
PyMethodBase.h:36
name
char name[80]
Definition
TGX11.cxx:142
cppjit::cpyrt
Definition
API.cxx:34
cppjit::cpyrt::pyval_from_enum
PyObject * pyval_from_enum(const std::string &enum_type, PyObject *pytype, PyObject *btype, interop::TCppScope_t enum_constant)
Definition
CPPEnum.cxx:23
cppjit::cpyrt::CPPEnum
PyObject CPPEnum
Definition
CPPEnum.h:8
cppjit::cpyrt::CPPEnum_New
CPPEnum * CPPEnum_New(const std::string &name, interop::TCppScope_t scope)
Definition
CPPEnum.cxx:156
cppjit::interop::TCppScope_t
Cpp::DeclRef TCppScope_t
Definition
API.h:41
bindings
pyroot
cppjit
src
cpyrt
CPPEnum.h
ROOTmaster - Reference Guide Generated on Tue Oct 20 2026 15:12:45 (GVA Time) using Doxygen 1.10.0