manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
135 stars 19 forks source link

Provide prototypes for C avahi functions #51

Closed jamesjer closed 3 years ago

jamesjer commented 3 years ago

This is the third pull request to make declarations and definitions match. I struggled with this one. Types defined in the Scheme code are used in the parameter lists of C functions that are called from Scheme. This is the solution that I came up with, but it is kind of ugly. I'm sure there is a better solution, but I am not sufficiently conversant with bigloo to know what it is.