<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Elixir</anon>
    <anon>C++</anon>
  </categories>
  <description>C++ のライブラリを Elixir から利用したくなりました。 NIF を使った単純な関数の呼び出しは実装したことがあるのですが、オブジェクトを利用するようなケースは試したことがなかったので、今回調べてみました。 NIF環境の用意 elixir_make counter_nif Makefile Counter module 動作確認 C++の Counter クラス リソースの確保と解放 counter_nif Counter module 動作確認 オブジェクトの構築と破棄 メンバ関数の呼び出し counter_nif Counter module 動作確認 いつか読むはずっと読まない：…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F2020%2F11%2F29%2F132656&quot; title=&quot;C++のクラスをNIFでElixirにバインドしてみた - エンジニアのソフトウェア的愛情&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>https://m.media-amazon.com/images/I/41Z7F36DYDL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-29 13:26:56</published>
  <title>C++のクラスをNIFでElixirにバインドしてみた</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/2020/11/29/132656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
