Kaydet (Commit) fb8fe72f authored tarafından INADA Naoki's avatar INADA Naoki Kaydeden (comit) GitHub

doc: fix compile error on "shoddy" example extension (GH-215)

üst 2c700af5
...@@ -5,4 +5,5 @@ setup(name="noddy", version="1.0", ...@@ -5,4 +5,5 @@ setup(name="noddy", version="1.0",
Extension("noddy2", ["noddy2.c"]), Extension("noddy2", ["noddy2.c"]),
Extension("noddy3", ["noddy3.c"]), Extension("noddy3", ["noddy3.c"]),
Extension("noddy4", ["noddy4.c"]), Extension("noddy4", ["noddy4.c"]),
Extension("shoddy", ["shoddy.c"]),
]) ])
...@@ -31,7 +31,7 @@ Shoddy_init(Shoddy *self, PyObject *args, PyObject *kwds) ...@@ -31,7 +31,7 @@ Shoddy_init(Shoddy *self, PyObject *args, PyObject *kwds)
static PyTypeObject ShoddyType = { static PyTypeObject ShoddyType = {
PyObject_HEAD_INIT(NULL) PyVarObject_HEAD_INIT(NULL, 0)
"shoddy.Shoddy", /* tp_name */ "shoddy.Shoddy", /* tp_name */
sizeof(Shoddy), /* tp_basicsize */ sizeof(Shoddy), /* tp_basicsize */
0, /* tp_itemsize */ 0, /* tp_itemsize */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment