Copyright (C) 2000-2012 |
GNU Info (g-wrap.info)Coping With Old Guile VersionsCoping With Old Guile Versions ============================== The guile interface for dealing with pointers was changed between version 1.3 and subsequent releases (including 1.3.4), and g-wrap was changed to use the new interface. However, as some older distributions still use guile 1.3 it has been necessary to keep the option of the old interface available. If you only use 1.3.4 or later versions of guile, you can safely ignore this section. To use the old interface, make sure the C constant GWRAP_OLD_GUILE_SMOB is defined when compiling the generated C file. If you are using autoconf, a macro AC_GWRAP_CHECK_GUILE, with no arguments, is provided in g-wrap.m4. It checkes which version of guile is available, and if necessary sets GWRAP_OLD_STYLE_SMOB. If you use it, make sure to include the line #undef GWRAP_OLD_STYLE_SMOB in either acconfig.h, or config.h.in, depending on how you are using autoconf. Of course, if you do this, you must ensure config.h is #included when you compile the generated C file! For more details on autoconf see its extensive documentation. NOTE: we can't guarantee that old versions of guile will be supported forever. We will try to ensure that most of the versions currently being distributed work, but we're not in a position to keep multiple layers of compatability code. automatically generated by info2www version 1.2.2.9 |