|
libwreport
3.5
|
C++ functions exported by the wreport python bindings, to be used by other C++ bindings. More...
#include <python.h>
Data Fields | |
| wrpy_Var *(* | var_create )(const wreport::Varinfo &) |
| Create a new unset wreport.Var object. | |
| wrpy_Var *(* | var_create_i )(const wreport::Varinfo &, int) |
| Create a new wreport.Var object with an integer value. | |
| wrpy_Var *(* | var_create_d )(const wreport::Varinfo &, double) |
| Create a new wreport.Var object with a double value. | |
| wrpy_Var *(* | var_create_c )(const wreport::Varinfo &, const char *) |
| Create a new wreport.Var object with a C string value. | |
| wrpy_Var *(* | var_create_s )(const wreport::Varinfo &, const std::string &) |
| Create a new wreport.Var object with a std::string value. | |
| wrpy_Var *(* | var_create_copy )(const wreport::Var &) |
| Create a new wreport.Var object as a copy of an existing var. | |
| PyObject *(* | var_value_to_python )(const wreport::Var &) |
| Read the value of a variable as a new Python object. | |
| int(* | var_value_from_python )(PyObject *o, wreport::Var &) |
| Set the value of a variable from a Python object (borrowed reference) | |
| wrpy_Varinfo *(* | varinfo_create )(wreport::Varinfo) |
| Create a wreport.Varinfo object from a C++ Varinfo. | |
| wrpy_Vartable *(* | vartable_create )(const wreport::Vartable *) |
| Create a wreport:Vartable object from a C++ Vartable. | |
C++ functions exported by the wreport python bindings, to be used by other C++ bindings.
To use them, retrieve a pointer to the struct via the Capsule system:
1.8.9.1