chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for Cygwin.
[catacomb-python]
/
bytestring.c
diff --git
a/bytestring.c
b/bytestring.c
index 61627f4fb37f317b4ad91762a70bc9085417e578..394d2f99cbc62f0f9d759a61cd47625b8cf1fd32 100644
(file)
--- a/
bytestring.c
+++ b/
bytestring.c
@@
-117,7
+117,7
@@
static PyNumberMethods bytestring_pynumber = {
static PyBufferProcs bytestring_pybuffer;
static PyTypeObject bytestring_pytype_skel = {
static PyBufferProcs bytestring_pybuffer;
static PyTypeObject bytestring_pytype_skel = {
- PyObject_HEAD_INIT(
&PyType_Type) 0,
/* Header */
+ PyObject_HEAD_INIT(
0) 0,
/* Header */
"catacomb.ByteString", /* @tp_name@ */
0, /* @tp_basicsize@ */
0, /* @tp_itemsize@ */
"catacomb.ByteString", /* @tp_name@ */
0, /* @tp_basicsize@ */
0, /* @tp_itemsize@ */