<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mFumi</author_name>
  <author_url>https://blog.hatena.ne.jp/mFumi/</author_url>
  <blog_title>mfumiの日記</blog_title>
  <blog_url>https://mfumi.hatenadiary.org/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>めも</anon>
  </categories>
  <description>gtkを勉強してて、コールバック関数を登録する際、 g_signal_connect(button,&quot;clicked&quot;,G_CALLBACK(callback),(gpointer)&quot;button 1&quot;); とかしてて、このG_CALLBACK()って何してるんだろうと思ったけど、 typedef void (*GCallback) (void); #define G_CALLBACK(f) ((GCallback) (f)) みたいな感じになってました。戻り値も引数も違う関数をとりあえずキャストして渡しとくのか…なるほど…。 動作実験。 #include&lt;stdio.h&gt; int f(int…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmfumi.hatenadiary.org%2Fentry%2F20101005%2F1286281459&quot; title=&quot;関数ポインタ - mfumiの日記&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-10-05 21:24:19</published>
  <title>関数ポインタ</title>
  <type>rich</type>
  <url>https://mfumi.hatenadiary.org/entry/20101005/1286281459</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
