<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tetsuya32</author_name>
  <author_url>https://blog.hatena.ne.jp/tetsuya32/</author_url>
  <blog_title>good enough?</blog_title>
  <blog_url>https://tetsuya32.hatenadiary.org/</blog_url>
  <categories>
    <anon>Lua</anon>
  </categories>
  <description>CのプログラムからLuaのスクリプトファイルを実行してみます。 luaL_loadfile()を使ってLuaのスクリプトファイルを読み込み、lua_pcallで実行します。 // lua_load_script.c // Luaのスクリプトファイルを読み込み、実行する #include &lt;stdio.h&gt; #include &quot;lua.h&quot; #include &quot;lualib.h&quot; #include &quot;lauxlib.h&quot; int main(int argc, char *argv[]) { lua_State *L; // 開始処理 L = lua_open(); luaL_openlibs(L…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftetsuya32.hatenadiary.org%2Fentry%2F20080703%2F1215124968&quot; title=&quot;CからLua: Luaのスクリプトファイルを実行 - good enough?&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>2008-07-03 07:42:48</published>
  <title>CからLua: Luaのスクリプトファイルを実行</title>
  <type>rich</type>
  <url>https://tetsuya32.hatenadiary.org/entry/20080703/1215124968</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
