add -proxydel/-noproxydel plus minor improvements

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-11 10:44:57 +00:00
commit 268cc4fb97
4 changed files with 44 additions and 9 deletions

View file

@ -29,7 +29,7 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
*alloc = SWIG_NEWOBJ;
}
else {
*cptr = PyString_AsString(obj);
*cptr = cstr;
*alloc = SWIG_OLDOBJ;
}
} else {