First round of director mods

- Removed asserts


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-09-20 15:12:21 +00:00
commit a1bc88865c
4 changed files with 0 additions and 14 deletions

View file

@ -2382,7 +2382,6 @@ public:
Printf(wrap_args, "} else {\n");
Printf(wrap_args, "%s = %s->__get_self();\n", source, director);
Printf(wrap_args, "}\n");
Printf(wrap_args, "assert(%s != Qnil);\n", source);
Delete(director);
Printv(arglist, source, NIL);
} else {
@ -2429,9 +2428,6 @@ public:
}
Printf(w->code, "}\n");
/* check that have a wrapped Ruby object */
Printv(w->code, "assert(__get_self() != Qnil);\n", NIL);
/* wrap complex arguments to VALUEs */
Printv(w->code, wrap_args, NIL);