{"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkrustf.hateblo.jp%2Fentry%2F20110507%2F1304738325\" title=\" Lua\u304b\u3089\u7591\u4f3c\u30af\u30e9\u30b9\u3092\u53d7\u3051\u53d6\u3063\u3066C++\u3067\u5b9f\u884c\u3059\u308b - krustf \u306e\u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://krustf.hateblo.jp/","image_url":null,"type":"rich","description":"\u524d\u56de\u306e\u8a18\u4e8b\u306e\u7591\u4f3c\u30af\u30e9\u30b9\u7248\u3002 luabind::object\u306f\u3082\u3061\u308d\u3093\u30c6\u30fc\u30d6\u30eb\u3092\u53d7\u3051\u53d6\u308c\u308b\u306e\u3067\u7591\u4f3c\u30af\u30e9\u30b9\u3082\u6271\u3048\u307e\u3059\u3002\u30c6\u30fc\u30d6\u30eb\u5185\u306e\u95a2\u6570\u3084\u5909\u6570\u3092\u898b\u3064\u3051\u308b\u306e\u306foperator[]\u3067\u53ef\u80fd\u3067\u3059\u3002 #include <lua.hpp> #include <lualib.h> #include <luabind/luabind.hpp> int main() { ::lua_State* L = ::lua_open(); ::luaL_openlibs(L); ::luabind::open(L); if( ::luaL_loadfile(L,\"test.lua\") == 0 ) { ::lua_pcall\u2026","url":"https://krustf.hateblo.jp/entry/20110507/1304738325","version":"1.0","title":" Lua\u304b\u3089\u7591\u4f3c\u30af\u30e9\u30b9\u3092\u53d7\u3051\u53d6\u3063\u3066C++\u3067\u5b9f\u884c\u3059\u308b","author_url":"https://blog.hatena.ne.jp/krustf/","categories":["C++","Lua","Luabind"],"blog_title":"krustf \u306e\u96d1\u8a18","published":"2011-05-07 12:18:45","width":"100%","provider_url":"https://hatena.blog","author_name":"krustf","height":"190"}