bad spelling in warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7b8f415319
commit
2f45350a89
1 changed files with 3 additions and 1 deletions
|
|
@ -376,7 +376,9 @@ void emit_action(Node *n, Wrapper *f) {
|
|||
String* dirdecl = NewStringf("%s *darg = 0", dirname);
|
||||
Wrapper_add_local(f, "darg", dirdecl);
|
||||
Printf(f->code, "darg = dynamic_cast<%s *>(arg1);\n",dirname);
|
||||
Printf(f->code, "if (!darg) SWIG_exception(SWIG_RuntimeError,\"accesing protected member %s\");\n",Getattr(n,"name"));
|
||||
Printf(f->code, "if (!darg) SWIG_exception(SWIG_RuntimeError,"
|
||||
"\"accessing protected member %s in %s\");\n",
|
||||
Getattr(n,"name"), symname);
|
||||
Replace(action, "arg1", "darg", DOH_REPLACE_FIRST);
|
||||
Delete(dirname);
|
||||
Delete(dirdecl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue