<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>melpon</author_name>
  <author_url>https://blog.hatena.ne.jp/melpon/</author_url>
  <blog_title>melpon日記 - HaskellもC++もまともに扱えないへたれのページ</blog_title>
  <blog_url>https://melpon.hatenadiary.org/</blog_url>
  <categories>
    <anon>program</anon>
    <anon>C++</anon>
    <anon>BREW</anon>
  </categories>
  <description>BREWはC++をCで模倣している。 特に便利だと思うのは、IBASE_Release()。 IFILE_Release()とか、ICAMERA_Release()とかしなくても、全部IBASE_Release()で解放出来る。 で、そいつをNULLチェックを行って解放するマクロを組むと、 #define SAFE_SHELL_RELEASE( p ) \ do{ \ if( p != NULL ){ \ IBASE_Release( (IBase*)p ); \ p = NULL; \ } \ }while( FALSE ) こうなります。 最近C++じゃなくてCばっかり触ってるせいで、スマ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20051105%2Fp1&quot; title=&quot;IBASE - melpon日記 - HaskellもC++もまともに扱えないへたれのページ&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>2005-11-05 00:00:00</published>
  <title>IBASE</title>
  <type>rich</type>
  <url>https://melpon.hatenadiary.org/entry/20051105/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
