manuel-serrano / bigloo

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

Get pa_strerror prototype for inline function pulseaudio-simple-flush #50

Closed jamesjer closed 3 years ago

jamesjer commented 3 years ago

This is the second pull request to make declarations and definitions match. In this case, the problem is that api/flac/src/Llib/flac_padec.scm calls pulseaudio-simple-flush. That is an inline function. It calls pa_strerror, but not prototype of pa_strerror is visible in flac_padec.scm. This commit includes the necessary header to get such a prototype.

If you want me to add the (extern ...) clause to one of the existing (cond-expand ...) clauses instead, let me know.