Add missing SWIGIMPORT to function declarations
This went unnoticed under Linux, but would have resulted in link errors for all functions under MSW.
This commit is contained in:
parent
b4d08c1787
commit
d9b3453763
1 changed files with 1 additions and 1 deletions
|
|
@ -858,7 +858,7 @@ ready:
|
|||
String *wrapper_call = NewString("");
|
||||
|
||||
// add function declaration to the proxy header file
|
||||
Printv(f_wrappers_decl, preturn_type, " ", wname, get_wrapper_func_proto(n).get(), ";\n\n", NIL);
|
||||
Printv(f_wrappers_decl, "SWIGIMPORT ", preturn_type, " ", wname, get_wrapper_func_proto(n).get(), ";\n\n", NIL);
|
||||
|
||||
if (is_global) {
|
||||
if (!f_wrappers_aliases) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue