Hi ttn,

Thien-Thi Nguyen <t...@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