blob: 9ee548fd3a2ca5b2df93e9cd8ba17071fdad8eb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-ac,v 1.2 2007/02/23 20:35:13 drochner Exp $
--- python/dnet.c.orig 2006-01-19 08:08:23.000000000 +0100
+++ python/dnet.c
@@ -438,7 +438,6 @@ static PyObject *__pyx_f_4dnet___memcpy(
}
static PyObject *__pyx_f_4dnet___oserror(void) {
- extern int errno;
PyObject *__pyx_r;
PyObject *__pyx_1 = 0;
@@ -2726,7 +2725,7 @@ static PyObject *__pyx_f_4dnet_15__addr_
PyObject *__pyx_3 = 0;
unsigned short __pyx_4;
Py_INCREF(__pyx_v_self);
- ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
+ __pyx_v_next = (void *)Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
/* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":634 */
__pyx_1 = (((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->cur <= ((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->max);
@@ -2738,7 +2737,7 @@ static PyObject *__pyx_f_4dnet_15__addr_
Py_DECREF(__pyx_2); __pyx_2 = 0;
if (!__Pyx_TypeTest(__pyx_3, __pyx_ptype_4dnet_addr)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; goto __pyx_L1;}
Py_DECREF(((PyObject *)__pyx_v_next));
- ((PyObject *)__pyx_v_next) = __pyx_3;
+ __pyx_v_next = (void *)__pyx_3;
__pyx_3 = 0;
/* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":636 */
|