Set wrap:name for variables for use in special variable

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-02-27 15:29:55 +00:00
commit 2bef4d6b0c
8 changed files with 14 additions and 0 deletions

View file

@ -795,6 +795,7 @@ public:
// Build the name for scheme.
Printv(proc_name, iname, NIL);
Setattr(n, "wrap:name", proc_name);
Printf(f->def, "SWIGEXT CAML_VALUE %s(CAML_VALUE args) {\n", var_name);
// Printv(f->def, "#define FUNC_NAME \"", proc_name, "\"", NIL);