[Top][All Lists]

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

Migrating to 2.2’s C port API

From: Ludovic Courtès
Subject: Migrating to 2.2’s C port API
Date: Fri, 10 Mar 2017 17:29:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)


One of the few (only?) things I’ve had to change in C code that uses
libguile and worked fine with 2.0 is code that creates new port types.
This C API has changed incompatibly in 2.2 (the previous one was never

I know a couple of projects that use the C port API and will need
“porting” to 2.2 (looking at you GDB and Guile-SSH :-)), so I thought it
might be useful to share what I did for GnuTLS:

With this change, the GnuTLS bindings work with 2.2, 2.0, and 1.8.

Happy 2.2 hacking!


reply via email to

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