#pragma once

#include <string>

#include "boost/python/object_fwd.hpp"

struct pycontext_impl {
    boost::python::object tupleargs;
    boost::python::object kwargs;
    int py_return_type = 0;
    double py_returned_double = 0.0;
    int py_returned_int = 0;
    boost::python::object generator_next;
};

std::string handle_pyerror();
