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

@ -522,6 +522,7 @@ public:
// Build the name for scheme.
Printv(proc_name, iname, NIL);
Replaceall(proc_name, "_", "-");
Setattr(n, "wrap:name", proc_name);
if ((SwigType_type(t) != T_USER) || (is_a_pointer(t))) {