guile-user
[Top][All Lists]
Advanced

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

Re: guile-db


From: dsmich
Subject: Re: guile-db
Date: Mon, 20 Oct 2008 15:25:25 -0400

---- Clinton Ebadi <address@hidden> wrote: 

>   (define-module (pg whatever)
>     #:export (guile-pg symbols ...))
>   
>   (load-extension "libwhateverpg" "guile_pg_init")
> 
> Is roughly what you need. Assuming that there is an init function in
> guile-pg that creates all of bindings for the library which, if I am
> remembering how the autoloading magic works, it has to. This is
> definitely something that anyone could do (just find the guile-pg init
> function and export every scm_define_gsubr etc.).

Yes, this needs to be done, but there is quite a bit more work that has to 
happen.

The C code uses features and interfaces from Guile 1.4 that are deprecated in 
1.6 and completely removed in 1.8.  You just can't compile and link the C code 
against a 1.8 Guile.

-Dale





reply via email to

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