guile-user
[Top][All Lists]
Advanced

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

Re: ptobs for Guile 2.2+


From: Ludovic Courtès
Subject: Re: ptobs for Guile 2.2+
Date: Sun, 13 Dec 2020 17:25:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi ttn,

Thien-Thi Nguyen <ttn@gnuvola.org> skribis:

> I'm trying to upgrade Guile-PG for Guile 2.2 (and possibly 3.0).
> It currently uses ptobs for the large object ("lobj") support in
> libpq, mostly for buffering and buffer synchronization.  I see
> in libguile/ports.h (Guile 2.0.13), however:
>
>  /* Hey you!  Yes you, reading the header file!  We're going to
>     deprecate scm_ptobs in 2.2, so please don't write any new
>     code that uses it.  Thanks.  */
>
> So, what do people do for "old" code that currently uses ptobs
> (i.e., for Guile 2.0 and earlier)?  Is there a recommended
> migration path (besides "give up" :-D)?  What am i missing?

Giving up sounds like a reasonable strategy to me at this point in
time.  :-)

If you want to do it anyway, I know GDB and GnuTLS have port code that
deals with both 2.0 and 2.2/3.0, perhaps that can help.

HTH,
Ludo’.




reply via email to

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