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:
Vadim Zeitlin 2019-08-04 14:33:34 +02:00
commit d9b3453763

View file

@ -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) {