<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasaplus1</author_name>
  <author_url>https://blog.hatena.ne.jp/sasaplus1/</author_url>
  <blog_title>四角革命前夜</blog_title>
  <blog_url>https://sasaplus1.hatenadiary.com/</blog_url>
  <categories>
    <anon>C言語</anon>
    <anon>Lua</anon>
  </categories>
  <description>簡単に組み込めるんだろう、と思ってやってみたら全然ダメで、結構苦しんだのでその時のメモ。 環境：Ubuntu10.10 64bit / Lua 5.1.4 / gcc 4.4.5 C言語側は同じディレクトリにあるmain.luaを読んで実行するだけのコード。 /* main.c */ #include &lt;lua.h&gt; #include &lt;lualib.h&gt; #include &lt;lauxlib.h&gt; int main(void) { lua_State *L = luaL_newstate(); luaL_openlibs(L); luaL_dofile(L, &quot;main.lua&quot;); lua_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasaplus1.hatenadiary.com%2Fentry%2F20101218%2F1292660727&quot; title=&quot;Ubuntu10.10 64bitでC言語のアプリケーションにLuaを組み込もうとして試行錯誤したメモ - 四角革命前夜&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>2010-12-18 17:25:27</published>
  <title>Ubuntu10.10 64bitでC言語のアプリケーションにLuaを組み込もうとして試行錯誤したメモ</title>
  <type>rich</type>
  <url>https://sasaplus1.hatenadiary.com/entry/20101218/1292660727</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
