summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 46e885f)
raw | patch | inline | side by side (parent: 46e885f)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 14 Apr 2007 12:19:14 +0000 (12:19 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 14 Apr 2007 12:19:14 +0000 (12:19 +0000) |
src/extension/script/inkscape_py_wrap.cpp | patch | blob | history |
index 28eeccb80f5bc992e2531ef57828cce82f91bfee..49afe508c17893139941887fefa52472e5d79926 100644 (file)
obj = pyobj;
if (PyCFunction_Check(obj)) {
/* here we get the method pointer for callbacks */
- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
+ char *doc = (char *) (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
c = doc ? strstr(doc, "swig_ptr: ") : 0;
if (c) {
c += 10;
swig_type_info **types_initial) {
int i;
for (i = 0; methods[i].ml_name; ++i) {
- char *c = methods[i].ml_doc;
+ char *c = (char *) methods[i].ml_doc;
if (c && (c = strstr(c, "swig_ptr: "))) {
int j;
swig_const_info *ci = 0;