Re: guile macros and binary API

2012-03-08 Thread dsmich
Alexei Matveev wrote: > As a background, Fortran allows you to declare "foreign" functions, for > example, > like this: > > type, public, bind(c) :: scm_t >private >integer(c_intptr_t) :: do_not_ever_use > end type scm_t > > interface > function scm_symbol_p (obj) result (yes)

guile macros and binary API

2012-03-08 Thread Alexei Matveev
[resend to guile-user, first copy went to bug-guile] Hi, All, For use from a Fortran program I am collecting API fixes for libguile.so as wrapper functions for what is provided to C-programs as macros. I noted that some of the macros are function-macros some are symbol macros. An example of the l