Remove unused Printf() parameter, and simplify resultant code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e73b6bf62c
commit
6ffb9fa179
1 changed files with 1 additions and 6 deletions
|
|
@ -366,17 +366,12 @@ public:
|
|||
Printf(f_directors, "#include \"%s\"\n\n", Swig_file_filename(outfile_h));
|
||||
}
|
||||
|
||||
String *wrapper_name = NewString("");
|
||||
|
||||
Printf(wrapper_name, "CSharp_%%f", imclass_name);
|
||||
Swig_name_register((char *) "wrapper", Char(wrapper_name));
|
||||
Swig_name_register((char *) "wrapper", (char *) "CSharp_%f");
|
||||
if (old_variable_names) {
|
||||
Swig_name_register((char *) "set", (char *) "set_%v");
|
||||
Swig_name_register((char *) "get", (char *) "get_%v");
|
||||
}
|
||||
|
||||
Delete(wrapper_name);
|
||||
|
||||
Printf(f_wrappers, "\n#ifdef __cplusplus\n");
|
||||
Printf(f_wrappers, "extern \"C\" {\n");
|
||||
Printf(f_wrappers, "#endif\n\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue