Line 0
Link Here
|
|
|
1 |
diff -urN aaa/swig-1.3.29/Lib/python/pyinit.swg |
2 |
--- aaa/swig-1.3.29/Lib/python/pyinit.swg 2006-02-03 00:48:56.000000000 |
3 |
0100 |
4 |
+++ swig-1.3.29/Lib/python/pyinit.swg 2006-08-28 21:12:16.214456216 +0200 |
5 |
@@ -226,11 +226,11 @@ |
6 |
swig_type_info **types_initial) { |
7 |
size_t i; |
8 |
for (i = 0; methods[i].ml_name; ++i) { |
9 |
- char *c = methods[i].ml_doc; |
10 |
+ const char *c = methods[i].ml_doc; |
11 |
if (c && (c = strstr(c, "swig_ptr: "))) { |
12 |
int j; |
13 |
swig_const_info *ci = 0; |
14 |
- char *name = c + 10; |
15 |
+ const char *name = c + 10; |
16 |
for (j = 0; const_table[j].type; ++j) { |
17 |
if (strncmp(const_table[j].name, name, |
18 |
strlen(const_table[j].name)) == 0) { |
19 |
diff -urN aaa/swig-1.3.29/Lib/python/pyrun.swg swig-1.3.29/Lib/python/pyrun.swg |
20 |
--- aaa/swig-1.3.29/Lib/python/pyrun.swg 2006-03-07 01:35:17.000000000 |
21 |
0100 |
22 |
+++ swig-1.3.29/Lib/python/pyrun.swg 2006-08-28 21:38:24.963970040 +0200 |
23 |
@@ -1075,7 +1075,7 @@ |
24 |
void *vptr = 0; |
25 |
|
26 |
/* here we get the method pointer for callbacks */ |
27 |
- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
28 |
+ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
29 |
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; |
30 |
if (desc) { |
31 |
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; |
0 |
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> |
32 |
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> |
1 |
<ul id="botLinks"> |
33 |
<ul id="botLinks"> |
2 |
<li><div class="reply"> |
34 |
<li><div class="reply"> |
3 |
</li> |
35 |
</li> |
4 |
</ul> |
36 |
</ul> |