diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-06-17 00:00:00 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-06-17 00:00:00 +0400 |
commit | 8918232465c742db520078b107077ecdd3cace48 (patch) | |
tree | ccbad2ffa50b8c46770998a1ff88eff3e3b8c27f /source/blender/blenpluginapi/plugin.DEF | |
parent | 3593d0684adcb27a037678d40dd843a4914793db (diff) |
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
Diffstat (limited to 'source/blender/blenpluginapi/plugin.DEF')
-rw-r--r-- | source/blender/blenpluginapi/plugin.DEF | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/source/blender/blenpluginapi/plugin.DEF b/source/blender/blenpluginapi/plugin.DEF new file mode 100644 index 00000000000..ae2692c7cff --- /dev/null +++ b/source/blender/blenpluginapi/plugin.DEF @@ -0,0 +1,40 @@ +LIBRARY +EXPORTS +mallocN +callocN +freeN +mallocT +callocT +freeT +hnoise +hnoisep +turbulence +turbulence1 +allocImBuf +dupImBuf +freeImBuf +converttocmap +saveiff +loadiffmem +loadifffile +loadiffname +testiffname +onehalf +onethird +halflace +half_x +half_y +double_x +double_y +double_fast_x +double_fast_y +ispic +dit2 +dit0 +scaleImBuf +scalefastImBuf +scalefieldImBuf +scalefastfieldImBuf +de_interlace +interlace +gamwarp |