<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akkt</author_name>
  <author_url>https://blog.hatena.ne.jp/akkt/</author_url>
  <blog_title>rants</blog_title>
  <blog_url>https://akkt.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Cの関数とPythonをつなげるための準備。 メソッドテーブルを作る。 static PyMethodDef SpamMethods[] = { ... {&quot;system&quot;, spam_system, METH_VARARGS, &quot;Execute a shell command.&quot;}, ... {NULL, NULL, 0, NULL} /* Sentinel */ }; PyMethodDefは 名前 C関数へのポインタ どのように呼び出されるか指定するフラグ docstring METH_VARARGSだと spam_system(PyObject *self, PyObject *arg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakkt.hatenadiary.org%2Fentry%2F20070406%2F1175885636&quot; title=&quot;Pythonの拡張モジュール勉強メモ2 - rants&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-04-06 03:53:56</published>
  <title>Pythonの拡張モジュール勉強メモ2</title>
  <type>rich</type>
  <url>https://akkt.hatenadiary.org/entry/20070406/1175885636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
