*** empty log message ***

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Logan Johnson 2003-04-17 23:49:17 +00:00
commit b718237c82
2 changed files with 57 additions and 18 deletions

View file

@ -86,8 +86,9 @@ SWIG_ConvertPtr(VALUE obj, void **ptr, swig_type_info *ty, int flags)
if (NIL_P(obj)) {
*ptr = 0;
return 0;
} else
} else {
Data_Get_Struct(obj, void, *ptr);
}
/* Do type-checking if type info was provided */
if (ty) {