[sword-devel] cross platform c# binding patch

Daniel Hughes trampster at gmail.com
Thu Sep 25 03:09:08 MST 2014


This patch fixes two of the issues found by Jon Behrens when trying to
use the c# bingings on windows:

That is 8.1 and 8.2 from his makingSwordForWindows.txt

8.1 is fixed by using Cdecl calling convention on every call
8.2 is fixed by removing the .so extension on the DLLNAME, mono/dot
net is smart enough to find the lib with the correct extension if you
do this.

With this patch no change should be necessary in the c# code to run on windows.

God bless,
Daniel Hughes



More information about the sword-devel mailing list