<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-cyrill</author_name>
  <author_url>https://blog.hatena.ne.jp/t-cyrill/</author_url>
  <blog_title>なんかかきたい</blog_title>
  <blog_url>https://t-cyrill.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>技術系</anon>
  </categories>
  <description>ruby-ffi は 動的にライブラリを呼び出せるRubyの拡張でバインディングライブラリをnative extension で書かなくても良い感じに呼び出せるようになる便利なライブラリ。 Rubyでは libffi を簡単に使えるのでちょっと頑張ればCのコードを呼び出せる。 FFI = foreign function interface、他言語の関数を呼び出すためのインターフェイス Cで書かれたライブラリの関数を native extension をビルドしなくても呼び出せて便利だったりする。 去年書いた記事でlibffiを使って、MP4v2Tagの関数を呼び出してみたけど、あんまり細かい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ft-cyrill.hatenablog.jp%2Fentry%2F2016%2F01%2F30%2F020509&quot; title=&quot;ffiを使ってCの関数をRubyから呼び出す - なんかかきたい&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>2016-01-30 02:05:09</published>
  <title>ffiを使ってCの関数をRubyから呼び出す</title>
  <type>rich</type>
  <url>https://t-cyrill.hatenablog.jp/entry/2016/01/30/020509</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
