[Bf-committers] Patch for fixing plugin api on windows

Joe Eagar joeedh at gmail.com
Sun May 14 21:33:08 CEST 2006

Hi.  I've written a patch that fixes the plugin API to work on windows.  
You can download it at 
.  The tracker entry has information on building the backlink import 
library under mingw; it'd be nice if someone could add a comment on how 
to do this under msvc.

If you missed the original emails, basically on windows you have to mark 
exposed plugin functions for export using __declspec(dllexport).  This 
wasn't done, so plugin authors could not use the API functions if they 
wanted their plugins to build on windows.

All the exposed functions were happily wrapped in 
source/blender/blenpluginapi/intern/pluginapi.c, so there was no need to 
mark any of blender's internal functions for export.


More information about the Bf-committers mailing list