guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile macros and binary API


From: dsmich
Subject: Re: guile macros and binary API
Date: Thu, 8 Mar 2012 18:25:12 -0500

---- Alexei Matveev <address@hidden> 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) bind (c)
>      type(scm_t), intent(in), value :: obj
>     type(scm_t) :: yes
>   end function scm_symbol_p
>   ...
> end interface

Sorry I can't contribute to the actual topic, but I just got say,  Wow!  That's 
fortran!!??

;^)

-Dale




reply via email to

[Prev in Thread] Current Thread [Next in Thread]