<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>The Binding Generator C->Haskell: Release Notes</TITLE> <LINK HREF="c2hs-7.html" REL=previous> <LINK HREF="c2hs.html#toc8" REL=contents> </HEAD> <BODY> Next <A HREF="c2hs-7.html">Previous</A> <A HREF="c2hs.html#toc8">Contents</A> <HR> <H2><A NAME="s8">8. Release Notes</A></H2> <P>Important changes (especially those affecting the semantics of the tool) are documented in the following. <P> <H2><A NAME="ss8.1">8.1 Version 0.9.9 "Blue Ginger"</A> </H2> <P> <UL> <LI>Bug fixes</LI> <LI>Library names in <CODE>foreign import</CODE>s have been removed until the convention of the new FFI is implemented (they are currently <EM>silently</EM> omitted)</LI> <LI>Added <CODE>sizeof</CODE> hooks; sizeof of type names is now also supported in constant expressions</LI> <LI>Local prefix for <CODE>enum</CODE> hooks; courtesy of Armin Sander</LI> <LI>Added <CODE>import</CODE> hooks</LI> <LI>The documentation includes a description of binding hooks</LI> <LI>Added <CODE>pointer</CODE> hooks, which were derived from code for a similar feature by Axel Simon; this includes proper treatment of parametrised pointers</LI> <LI>Integrated <CODE>deriving</CODE> option for <CODE>enum</CODE> hooks, which was contributed by Axel Simon </LI> <LI>Adapted to GHC 5.0</LI> </UL> <P> <H2><A NAME="ss8.2">8.2 Version 0.8.2 "Gentle Moon"</A> </H2> <P> <UL> <LI>Adaptation layer for legacy <CODE>StablePtr</CODE> interface</LI> <LI>Forgot to export <CODE>FunPtr</CODE> and associated functions from <CODE>C2HS</CODE></LI> <LI>Forgot to export some names in <CODE>C2HSDeprecated</CODE></LI> <LI>Added support for gcc's <CODE>__builtin_va_list</CODE></LI> </UL> <P> <H2><A NAME="ss8.3">8.3 Version 0.8.1 "Gentle Moon"</A> </H2> <P> <UL> <LI>Library adapted to New FFI; the old interface can still be used by importing <CODE>C2HSDeprecated</CODE></LI> <LI>FFI Library specification added to the documentation</LI> </UL> <P> <H2><A NAME="ss8.4">8.4 Version 0.7.10 "Afterthought"</A> </H2> <P> <UL> <LI>CygWin support; based on suggestions by Anibal Maffioletti Rodrigues de DEUS <anibaldedeus@email.com></LI> <LI><CODE>IntConv</CODE> instances for <CODE>Int8</CODE>, <CODE>Word8</CODE>, and <CODE>Char</CODE></LI> </UL> <P> <H2><A NAME="ss8.5">8.5 Version 0.7.9 "Afterthought"</A> </H2> <P> <UL> <LI>Debugged the stripping of prefixes from enumerators; prefixes are now generally stripped, independent of whether they can be stripped from all enumerators of a given enumeration type</LI> <LI>Comma now correctly required after <CODE>underscoreToCase</CODE>. <B>WARNING: This breaks source compatibility with previous versions.</B></LI> </UL> <P> <H2><A NAME="ss8.6">8.6 Version 0.7.8</A> </H2> <P> <UL> <LI>Provisional support for GHC 4.08</LI> <LI>Corrected constant folding</LI> </UL> <P> <H2><A NAME="ss8.7">8.7 Version 0.7.7</A> </H2> <P>Ignores any occurrence of <CODE>#pragma</CODE>. <P> <H2><A NAME="ss8.8">8.8 Version 0.7.6</A> </H2> <P>Bug fixes and support for <CODE>long long</CODE>. <P> <H2><A NAME="ss8.9">8.9 Version 0.7.5</A> </H2> <P>This is mainly a bug fix release. In particular, the space behaviour of C->Haskell has been significantly improved. <P>IMPORTANT NOTE: From this release on, library names in <CODE>lib</CODE> tags in <CODE>context</CODE> hooks should <EM>not</EM> contain a suffix (i.e., omit <CODE>.so</CODE> etc). <P> <P> <HR> Next <A HREF="c2hs-7.html">Previous</A> <A HREF="c2hs.html#toc8">Contents</A> </BODY> </HTML>