<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higepon</author_name>
  <author_url>https://blog.hatena.ne.jp/higepon/</author_url>
  <blog_title>higepon blog</blog_title>
  <blog_url>https://higepon.hatenablog.com/</blog_url>
  <categories>
    <anon>mosh</anon>
  </categories>
  <description>Scheme から C の関数を呼び出せるとなると MySQL に接続してみたくなる。しかしながら libmysqlclient の mysql_init は MYSQL * STDCALL mysql_init(MYSQL *mysql);と MYSQL 構造体を呼び出し側で割り当てて渡してあげないといけない。（正確には渡すのはポインタ） しかし Scheme 側からこの構造体を割り当てるのは少し難しい。Scheme 側から MYSQL 構造体のの詳細が分からないのだ。構造体メンバは、構造体のサイズが分からないと割り当てられない。 MYSQL 構造体のメンバに Scheme が直接アクセスす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigepon.hatenablog.com%2Fentry%2F20090113%2F1231829790&quot; title=&quot; FFI における構造体問題 - higepon blog&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>2009-01-13 15:56:30</published>
  <title> FFI における構造体問題</title>
  <type>rich</type>
  <url>https://higepon.hatenablog.com/entry/20090113/1231829790</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
