|
Re: Can't use _declspec(dllimport) in SWIG to import data from DLL: msg#00121programming.swig
Pereira, Ricardo Scachetti wrote: Hi, there.SWIG generates what you tell it to. How did you get SWIG to do this? My current workaround is to manually change the c++ file generated by SWIG to have this instead: You add stuff into the wrapper file using %{ %}... %{ class _declspec(dllimport) Log g_log(); %} SWIG won't parse any of this and will merely copy it all into the wrapper file. William _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Version 1.3.22 and -ldflags command line option: 00121, Mike Romberg |
|---|---|
| Next by Date: | Errors building RPM: 00121, Balaji Balaraman |
| Previous by Thread: | Can't use _declspec(dllimport) in SWIG to import data from DLLi: 00121, Pereira, Ricardo Scachetti |
| Next by Thread: | Errors building RPM: 00121, Balaji Balaraman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |