Re: ffi-helper: status

2017-07-10 Thread Matt Wette
> On Jul 7, 2017, at 5:31 PM, Matt Wette wrote: > > >> On Jul 7, 2017, at 5:18 PM, Matt Wette wrote: >> However, the above generates 397 FFI declarations into a cairo.scm file >> which is about 6000 lines long. I’m not >> sure if I want to start testing this code or start converting suggest

Re: ffi-helper: status

2017-07-07 Thread Matt Wette
> On Jul 7, 2017, at 5:18 PM, Matt Wette wrote: > However, the above generates 397 FFI declarations into a cairo.scm file which > is about 6000 lines long. I’m not > sure if I want to start testing this code or start converting suggestions and > have guile-users do some testing. That is, f

ffi-helper: status

2017-07-07 Thread Matt Wette
Hi All, I am working on a ffi-helper: a program that will read in a C dot-h file and generate a Guile dot-scm file which defines a module to provide hooks into the associated C library. My goal is to have something to release ~Oct 2017. I have now been able to compile-ffi the following on my

Re: ffi helper: enums

2017-06-17 Thread Amirouche
Le 17/06/2017 à 20:53, Matt Wette a écrit : The following seems to be a Guile architecture wrt how FFI-based interfaces should be implemented. I am working on a ffi-helper: a program that will read in a C dot-h file and generate a Guile dot-scm file which defines a module to provide hooks

ffi-helper: modules and guild

2017-06-17 Thread Matt Wette
More on my ffi-helper project. This time about modules and guild I am working on a ffi-helper: a program that will read in a C dot-h file and generate a Guile dot-scm file which defines a module to provide hooks into the associated C library. I am looking for concurrence on the following

ffi helper: enums

2017-06-17 Thread Matt Wette
The following seems to be a Guile architecture wrt how FFI-based interfaces should be implemented. I am working on a ffi-helper: a program that will read in a C dot-h file and generate a Guile dot-scm file which defines a module to provide hooks into the associated C library. I am looking for

Re: ffi helper

2017-05-13 Thread Matt Wette
ng else as, wrt the pointer wrappers, we are adding a “C” wrapper instead of a “scheme” wrapper. I am deciding how to handle enums. I will likely have wrapper to map symbols to integers and vice versa, but I will have to handle anonymous enums as well (e.g." enum { ABC = 1 };”). Matt (u