Displaying 1 result from an estimated 1 matches for "7e856cf2".
2014 Nov 29
3
[LLVMdev] Frontend: How to use Member to Function Pointer as callbacks
Hello,
As part of a MSIL (i.e. C#) to LLVM frontend I am currently working on (
https://github.com/xen2/SharpLang ), I would need some help/hint about how
to properly design "PInvoke callbacks".
Through "PInvoke" mechanism .NET allows you to call C functions, i.e.:
C#:
[DllImport("libc.so")] extern void mempcy(void* dest, void* src, int size);
// declaration of C