-
Notifications
You must be signed in to change notification settings - Fork 95
yallop edited this page May 19, 2014
·
18 revisions
- What's the best way to bind C functions that act on strings?
- How can I access global C variables?
- Who is using ctypes?
- How can I call variadic functions?
- How can I call C macros?
- How can I call compiler builtins?
- What's the build process for code that uses stub generation ?
- Why does stub generation use functors?
- How can I install ctypes?
- How can I build ctypes with debug support?
- How can I deal with null pointers?
- What's the purpose of views?
- How can I pass OCaml functions to C?
- What is the lifetime of an OCaml function passed to C?
- How can I declare an incomplete type?
- How can I represent structures with bit-field members?
- How does ctypes handle structs layout?
- How can I represent packed structs?
- How can represent structs that use the "struct hack"?
- How can I represent enums?
- How should I install libffi on Mac OS X?
- What's the purpose of the
-Wl,-no-as-needed
flag? - How can I attach finalisers to objects created by ctypes?
- When should I use finalisers?
- How can I bind to C++ code?
- How can I bind to functions that set errno?
- What ctypes documentation is available?
- Where can I get ctypes support?
- When does ctypes copy objects?
- Does stub generation support the "noalloc" and "float" flags?
- How can I call macros and compiler builtins?
- Does ctypes work on Windows?
- How can I cast between types?
- What do I need to know about the garbage collector?
- How can I expose OCaml code to C?
- Does ctypes support bigarrays?
- How can I print ctypes values in the toplevel?
- How can I improve the performance of my Ctypes code?