<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yashigani_w</author_name>
  <author_url>https://blog.hatena.ne.jp/yashigani_w/</author_url>
  <blog_title>yashiganiの英傑になるまで死ねない日記</blog_title>
  <blog_url>https://yashigani.hatenablog.com/</blog_url>
  <categories>
    <anon>C/C++</anon>
    <anon>programing</anon>
  </categories>
  <description>マクロ初めて使ったら変な動きしてあせったので調べてみた #include &lt;stdio.h&gt; #define max(a, b) ((a &gt; b) ? a : b) int hoge (int a) { printf (&quot;hoge! &quot;); return ++a; } int main (int argc, char* argv[]) { int foo = 1; int bar = 2; max (bar, hoge (foo)); return 0; } 実行結果 &gt; ./macro hoge! hoge! マクロについて調べてみると，どうやらコンパイル時に展開してるらしい つまりこうなっ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyashigani.hatenablog.com%2Fentry%2F20100526%2F1274873422&quot; title=&quot;マクロ難しい - yashiganiの英傑になるまで死ねない日記&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>2010-05-26 20:30:22</published>
  <title>マクロ難しい</title>
  <type>rich</type>
  <url>https://yashigani.hatenablog.com/entry/20100526/1274873422</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
