Lines Matching refs:result
33 result = "#include <pybind11/pybind11.h>\n\n"
34 result += "namespace py = pybind11;\n\n"
35 result += decl + '\n'
36 result += "PYBIND11_MODULE(example, m) {\n"
37 result += bindings
38 result += "}"
39 return result
65 result = "#include <boost/python.hpp>\n\n"
66 result += "namespace py = boost::python;\n\n"
67 result += decl + '\n'
68 result += "BOOST_PYTHON_MODULE(example) {\n"
69 result += bindings
70 result += "}"
71 return result