Re: libffi-d: D binding to libffi

2011-12-15 Thread Alex Rønne Petersen
Hi Andrej, Sorry for the late response (for some reason, my news reader had marked this thread as read). There's a few DLL's floating around for libffi, however none of them seem to have the symbol ffi_prep_cif_var which seems to be needed for variadic functions. I can version variadic

Re: libffi-d: D binding to libffi

2011-12-15 Thread Alex Rønne Petersen
On 15-12-2011 09:14, Alex Rønne Petersen wrote: Hi Andrej, Sorry for the late response (for some reason, my news reader had marked this thread as read). There's a few DLL's floating around for libffi, however none of them seem to have the symbol ffi_prep_cif_var which seems to be needed

Re: libffi-d: D binding to libffi

2011-12-09 Thread Andrej Mitrovic
There's a few DLL's floating around for libffi, however none of them seem to have the symbol ffi_prep_cif_var which seems to be needed for variadic functions. I can version variadic support out and compile your bindings, the tests will work fine on win32. I've also tried compiling libffi on my

libffi-d: D binding to libffi

2011-12-08 Thread Alex Rønne Petersen
Hi folks, Since I needed a way to call arbitrary C functions dynamically (while knowing their pointer + signature), I decided to write a binding to libffi for D. https://github.com/lycus/libffi-d There is heavy focus on simplicity: It is composed of 3 enums (FFIType, FFIStatus