<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>GCC</anon>
  </categories>
  <description>マクロでブロック渡せば良いんじゃないかなぁ。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #define times(n, i, block) for (i = 0; i &lt; n; i++) block int main(void) { int i,j; times(3, i, { printf(&quot;outer block : %d\n&quot;, i); times(3, j, { printf(&quot; inner block : %d\n&quot;, j); }); }); return EXIT_SUCCESS; } 実行結果。 outer block : 0 inner b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070911%2F1189515113&quot; title=&quot; 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>2007-09-11 21:51:53</published>
  <title> C言語でRubyライクなブロックを</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070911/1189515113</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
