{"id":107598,"date":"2024-03-22T12:54:16","date_gmt":"2024-03-22T03:54:16","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/"},"modified":"2024-04-05T12:23:04","modified_gmt":"2024-04-05T03:23:04","slug":"python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/","title":{"rendered":"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?"},"content":{"rendered":"<p>\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3001ctypes \u30e2\u30b8\u30e5\u30fc\u30eb\u306e POINTER \u3068 byref \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001ctypes\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3001C\u8a00\u8a9e\u306e\u69cb\u9020\u4f53\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b\u304b\u3001c_void_p\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u578b\u3092\u8868\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e C \u8a00\u8a9e\u30b3\u30fc\u30c9\u3092\u8003\u3048\u3066\u307f\u308b\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;stdio.h&gt;<\/span><\/span>\r\n\r\n<span class=\"hljs-type\">void<\/span> <span class=\"hljs-title function_\">add_numbers<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span>* a, <span class=\"hljs-type\">int<\/span>* b, <span class=\"hljs-type\">int<\/span>* result)<\/span> {\r\n    *result = *a + *b;\r\n}\r\n<\/code><\/pre>\n<p>Python\u3067\u306f\u3001ctypes\u306b\u3088\u3063\u3066\u3001\u3053\u306e\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">import<\/span> ctypes\r\n\r\n<span class=\"hljs-comment\"># \u5b9a\u4e49\u4e00\u4e2a\u7ed3\u6784\u4f53\u6216\u6307\u9488\u7c7b\u578b<\/span>\r\n<span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title class_\">IntPointer<\/span>(ctypes.Structure):\r\n    _fields_ = [(<span class=\"hljs-string\">\"value\"<\/span>, ctypes.POINTER(ctypes.c_int))]\r\n\r\n<span class=\"hljs-comment\"># \u52a0\u8f7d\u52a8\u6001\u94fe\u63a5\u5e93<\/span>\r\nlib = ctypes.CDLL(<span class=\"hljs-string\">\"your_library_path\"<\/span>)\r\n\r\n<span class=\"hljs-comment\"># \u83b7\u53d6\u51fd\u6570\u5e76\u8bbe\u7f6e\u53c2\u6570\u7c7b\u578b<\/span>\r\nadd_numbers = lib.add_numbers\r\nadd_numbers.argtypes = [ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int)]\r\n\r\n<span class=\"hljs-comment\"># \u521b\u5efa\u53c2\u6570\u5e76\u4f20\u5165\u51fd\u6570<\/span>\r\na = ctypes.c_int(<span class=\"hljs-number\">5<\/span>)\r\nb = ctypes.c_int(<span class=\"hljs-number\">3<\/span>)\r\nresult = ctypes.c_int()\r\n\r\nadd_numbers(ctypes.byref(a), ctypes.byref(b), ctypes.byref(result))\r\n\r\n<span class=\"hljs-built_in\">print<\/span>(result.value) <span class=\"hljs-comment\"># \u8f93\u51fa\u7ed3\u679c\uff1a8<\/span>\r\n<\/code><\/pre>\n<p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u9996\u5148\u5b9a\u4e49\u4e86\u4e00\u4e2a\u7c7bIntPointer\uff0c\u5b83\u5305\u542b\u4e00\u4e2a\u540d\u4e3avalue\u7684\u6307\u9488\u6210\u5458\u3002\u7136\u540e\uff0c\u4f7f\u7528ctypes.Structure\u6765\u58f0\u660e\u8fd9\u4e2a\u7ed3\u6784\u4f53\u3002<\/p>\n<p>\u6b21\u306b\u52d5\u7684\u30ea\u30f3\u30af\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30ed\u30fc\u30c9\u3068add_numbers\u95a2\u6570\u306e\u53d6\u5f97\u3092\u884c\u3044\u307e\u3059\u3002\u5f15\u6570\u578b\u306e\u8a2d\u5b9a\u3067\u306f\u95a2\u6570\u306e\u5f15\u6570\u306e\u578b\u3092argtypes\u5c5e\u6027\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fargtypes\u306e\u578b\u306f\u6574\u6570\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u8868\u3059ctypes.POINTER(ctypes.c_int)\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u6574\u6570\u30d1\u30e9\u30e1\u30fc\u30bf\u306ea\u3001b\u3001\u7d50\u679c\u306eresult\u3092\u4f5c\u6210\u3057\u3001ctypes.byref\u3092\u4f7f\u7528\u3057\u3066add_numbers\u95a2\u6570\u306b\u6e21\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b\u3001result.value \u3088\u308a\u7d50\u679c\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3001ctypes \u30e2\u30b8\u30e5\u30fc\u30eb\u306e POINTER \u3068 byref \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u307e\u305a\u3001ctypes\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3001C\u8a00\u8a9e\u306e\u69cb\u9020\u4f53\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b\u304b\u3001c_void_p\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-107598","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b? - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?\" \/>\n<meta property=\"og:description\" content=\"\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3001ctypes \u30e2\u30b8\u30e5\u30fc\u30eb\u306e POINTER \u3068 byref \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u307e\u305a\u3001ctypes\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3001C\u8a00\u8a9e\u306e\u69cb\u9020\u4f53\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b\u304b\u3001c_void_p\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-22T03:54:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-05T03:23:04+00:00\" \/>\n<meta name=\"author\" content=\"\u590f\u6a39, \u98a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u590f\u6a39, \u98a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/\",\"name\":\"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b? - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-22T03:54:16+00:00\",\"dateModified\":\"2024-04-05T03:23:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\",\"name\":\"\u590f\u6a39, \u98a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"caption\":\"\u590f\u6a39, \u98a8\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b? - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\/","og_locale":"ja_JP","og_type":"article","og_title":"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?","og_description":"\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3001ctypes \u30e2\u30b8\u30e5\u30fc\u30eb\u306e POINTER \u3068 byref \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u307e\u305a\u3001ctypes\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3001C\u8a00\u8a9e\u306e\u69cb\u9020\u4f53\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3059\u308b\u304b\u3001c_void_p\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-22T03:54:16+00:00","article_modified_time":"2024-04-05T03:23:04+00:00","author":"\u590f\u6a39, \u98a8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u590f\u6a39, \u98a8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/","name":"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b? - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-22T03:54:16+00:00","dateModified":"2024-04-05T03:23:04+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Python\u3067ctypes\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b?"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d","name":"\u590f\u6a39, \u98a8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","caption":"\u590f\u6a39, \u98a8"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7ctypes%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6%e3%83%9d%e3%82%a4%e3%83%b3%e3%82%bf%e3%82%92%e5%8f%97%e3%81%91%e5%8f%96%e3%82%8b%e3%81%ab%e3%81%af%e3%81%a9%e3%81%86%e3%81%99\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/107598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=107598"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/107598\/revisions"}],"predecessor-version":[{"id":320489,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/107598\/revisions\/320489"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=107598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=107598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=107598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}