{"blog_title":"\u304a\u3073\u306a\u305f\u3093\u2606","image_url":null,"version":"1.0","author_name":"earth2001y","title":"boost.python","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fearth2001y.hatenablog.com%2Fentry%2F20070610%2Fp2\" title=\"boost.python - \u304a\u3073\u306a\u305f\u3093\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["\u6280","\u3077"],"provider_name":"Hatena Blog","published":"2007-06-10 00:00:01","type":"rich","provider_url":"https://hatena.blog","description":"\u897f\u5c3e\u6cf0\u548c\u306e\u30d6\u30ed\u30b0 @ Cybozu Labs: Python\u62e1\u5f35\u306e\u4f5c\u308a\u65b9 \u305d\u308c\u3001C++\u306a\u3089Boost.Python\u4f7f\u3063\u3066\u3082\u3063\u3068\u7c21\u5358\u306b\u3067\u304d\u308b\u304a\u3002 Boost.Python \u3053\u3093\u306a\u3075\u3046\u306b\u306d\u3002\u3082\u3061\u308d\u3093\u3001Python.h\u306b\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u901a\u3059\u306e\u306f\u5fd8\u308c\u305a\u306b\u3002 #include <boost/python.hpp> #include <string> std::string foo() { return \"Hello, Boost.Python\"; } BOOST_PYTHON_MODULE([[MODULE_NAME]]) { boost::python::def(\"[[FUNC_NAME]]\"\u2026","blog_url":"https://earth2001y.hatenablog.com/","width":"100%","url":"https://earth2001y.hatenablog.com/entry/20070610/p2","author_url":"https://blog.hatena.ne.jp/earth2001y/","height":"190"}