1 |
|
#ifndef RS274NGC_INTERP_PYTHON |
2 |
|
#define RS274NGC_INTERP_PYTHON |
3 |
|
#include <boost/python/object.hpp> |
4 |
680 |
struct pycontext_impl { |
5 |
|
boost::python::object tupleargs; // the args tuple for Py functions |
6 |
|
boost::python::object kwargs; // the args dict for Py functions |
7 |
|
int py_return_type; // type of Python return value - enum retopts |
8 |
|
double py_returned_double; |
9 |
|
int py_returned_int; |
10 |
|
// generator object next method as returned if Python function contained a yield statement |
11 |
|
boost::python::object generator_next; |
12 |
|
}; |
13 |
|
#endif |