Blender Git Loki

Git Commits -> Revision 8918232

Revision 8918232 by Kent Mein (master)
June 16, 2006, 20:00 (GMT)


This is a modified version of patch #4200

http://projects.blender.org/tracker/index.php?func=detail&aid=4200&group_id=9&atid=127

It adds platform depenant prefix to function calls
(extern on non windows platforms more complicated on windows)
So that windows plugins can reference functions inside of blender.

there is a small TODO still...
Make release should build the helper library required under windows and modify
how they build the plugins:
dlltool --input-def plugin.DEF --output-lib libblenerplugin.a --dllname blender.exe
and the pulgins should be made with:
gcc -c (pluginname).c
gcc -shared -o (pluginname).dll (pluginname).o libblenderplugin.a

Kent

Commit Details:

Full Hash: 8918232465c742db520078b107077ecdd3cace48
SVN Revision: 7761
Parent Commit: 3593d06
Lines Changed: +197, -94

2 Added Paths:

/source/blender/blenpluginapi/externdef.h (+43, -0) (View)
/source/blender/blenpluginapi/plugin.DEF (+40, -0) (View)

4 Modified Paths:

/source/blender/blenpluginapi/iff.h (+42, -52) (Diff)
/source/blender/blenpluginapi/intern/pluginapi.c (+59, -35) (Diff)
/source/blender/blenpluginapi/plugin.h (+5, -4) (Diff)
/source/blender/blenpluginapi/util.h (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021