{"author_url":"https://blog.hatena.ne.jp/s51517765/","categories":["C/C++"],"height":"190","title":"\u79c1\u306e\u77e5\u3089\u306a\u304b\u3063\u305fcallback\u306e\u4e16\u754c","author_name":"s51517765","url":"https://s51517765.hatenadiary.jp/entry/2024/09/02/073000","published":"2024-09-02 07:30:00","image_url":null,"blog_title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7d20\u4eba\u306e\u306f\u3066\u306a\u30d6\u30ed\u30b0","type":"rich","provider_url":"https://hatena.blog","blog_url":"https://s51517765.hatenadiary.jp/","description":"callback\u3068\u306f\u3001\u95a2\u6570\u3092\u95a2\u6570\u306e\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u3053\u3068\u304c\u51fa\u6765\u308b\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3059\u3002\u4f8b\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002 \u6700\u7d42\u7684\u306bprintf(\"Hello xx\")\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u95a2\u6570\u304c\u5909\u6570\u306e\u3088\u3046\u306b\u6271\u308f\u308c\u3066\u5f15\u6570\u3067\u6e21\u3055\u308c\u3001\u5b9f\u884c\u3055\u308c\u3066\u3044\u307e\u3059\u3002 #include <stdio.h> typedef void (*callback_t)(int *); typedef void (*func)(void *); callback_t result_callback = NULL; void set_callback(func cb) { result_callback = (callback_t)cb; \u2026","provider_name":"Hatena Blog","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs51517765.hatenadiary.jp%2Fentry%2F2024%2F09%2F02%2F073000\" title=\"\u79c1\u306e\u77e5\u3089\u306a\u304b\u3063\u305fcallback\u306e\u4e16\u754c - \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7d20\u4eba\u306e\u306f\u3066\u306a\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}