<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Wacky</author_name>
  <author_url>https://blog.hatena.ne.jp/Wacky/</author_url>
  <blog_title>ふにゃるんv2</blog_title>
  <blog_url>https://wacky.hatenadiary.com/</blog_url>
  <categories>
    <anon>prog</anon>
  </categories>
  <description>余談ですが、C99では可変引数マクロ(__VA_ARGS__)という、今まで渇望されていた機能が搭載されています。 つぅか、__VA_ARGS__マクロの説明って、必ずデバッグ用に紹介されるんですよね。まぁ、当然ですけど。 とはいえ、C99に対応してないコンパイラってのも結構ある訳で。 じゃぁ、どうすんだ？と。 自分がデバッグ用マクロを定義する際に良く使うパターンを、以下にメモ書きしておきます。 #include &lt;stdio.h&gt; #include &lt;stdarg.h&gt; #include &lt;assert.h&gt; #define DBG dprintf(&quot;%s %d : &quot;, __FILE__,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwacky.hatenadiary.com%2Fentry%2F20060611%2F1150007606&quot; title=&quot; C99じゃないコンパイラで、可変引数付きデバッグ用マクロを定義する例 - ふにゃるんv2&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>2006-06-11 15:33:26</published>
  <title> C99じゃないコンパイラで、可変引数付きデバッグ用マクロを定義する例</title>
  <type>rich</type>
  <url>https://wacky.hatenadiary.com/entry/20060611/1150007606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
