assemblage icon indicating copy to clipboard operation
assemblage copied to clipboard

Support ctype's stub generation

Open samoht opened this issue 11 years ago • 3 comments

samoht avatar Jun 16 '14 08:06 samoht

@yallop is there a good example to look at the stub generation for ctypes ?

samoht avatar Jun 16 '14 12:06 samoht

The stub_generation branch in my async_ssl fork (due to be merged upstream soon) is probably a reasonable place to start looking. There are also the examples and tests in the ctypes distribution, although those Makefiles are a bit more complicated.

yallop avatar Jun 16 '14 20:06 yallop

Initial support is now in master. This does not work properly yet, seems to be missing few includes flags, but the sequence of commands is there. As I am not an expert in linking C with OCaml, I'll call for advices to debug the remaining bits.

samoht avatar Jul 09 '14 09:07 samoht