{"url":"https://sirocco.hatenadiary.org/entry/20131201/1385846069","height":"190","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/sirocco/","version":"1.0","width":"100%","blog_url":"https://sirocco.hatenadiary.org/","description":"Foreign.Marshal.Utils\u306ewith\u306fC \u306e\u95a2\u6570\u3078\u306e\u5f15\u6570\u3092\u30dd\u30a4\u30f3\u30bf\u6e21\u3057\u3059\u308b\u3068\u304d\u306b\u4f7f\u3046\u3002 -- ghc --make -Wall frexp.hs test.c -o frex {-# LANGUAGE ForeignFunctionInterface #-} import Foreign.Ptr import Foreign.C.Types import Foreign.Marshal.Utils foreign import ccall unsafe \"test\" c_test :: Ptr CInt -> Ptr CInt -> IO CInt func :: CInt -\u2026","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20131201%2F1385846069\" title=\" with \u3092\u4f7f\u3063\u3066 C \u306e\u95a2\u6570\u3078\u30dd\u30a4\u30f3\u30bf\u6e21\u3057\u3092\u3059\u308b - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","categories":["Haskell"],"author_name":"sirocco","title":" with \u3092\u4f7f\u3063\u3066 C \u306e\u95a2\u6570\u3078\u30dd\u30a4\u30f3\u30bf\u6e21\u3057\u3092\u3059\u308b","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","published":"2013-12-01 06:14:29"}