<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>krustf</author_name>
  <author_url>https://blog.hatena.ne.jp/krustf/</author_url>
  <blog_title>krustf の雑記</blog_title>
  <blog_url>https://krustf.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Lua</anon>
    <anon>Luabind</anon>
  </categories>
  <description>前回の記事の疑似クラス版。 luabind::objectはもちろんテーブルを受け取れるので疑似クラスも扱えます。テーブル内の関数や変数を見つけるのはoperator[]で可能です。 #include &lt;lua.hpp&gt; #include &lt;lualib.h&gt; #include &lt;luabind/luabind.hpp&gt; int main() { ::lua_State* L = ::lua_open(); ::luaL_openlibs(L); ::luabind::open(L); if( ::luaL_loadfile(L,&quot;test.lua&quot;) == 0 ) { ::lua_pcall…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkrustf.hateblo.jp%2Fentry%2F20110507%2F1304738325&quot; title=&quot; Luaから疑似クラスを受け取ってC++で実行する - krustf の雑記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-05-07 12:18:45</published>
  <title> Luaから疑似クラスを受け取ってC++で実行する</title>
  <type>rich</type>
  <url>https://krustf.hateblo.jp/entry/20110507/1304738325</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
