[HOpenGL] HOpenGL fo 5.04

Simon Marlow simonmar@microsoft.com
Fri, 6 Dec 2002 09:34:05 -0000


> Nicolas Oury wrote:
> > Hello, is there a version of hopengl working with ghc 5.04? [...]
>=20
> I guess you mean the latest and greatest GHC 5.04.2, because earlier
> versions work quite well with HOpenGL 1.03. Although 5.04.2=20
> is supposed
> to be a patchlevel release without noticeable API changes, it isn't
> really: GHC's FFI has been synchronized with the FFI=20
> addendum, and there
> are some subtle changes, e.g. ForeignObjs can't be passed to external
> functions anymore.

That's not true - 5.04.2 still supports ForeignObj as an argument to a
foreign function.  The functionality has been removed in the HEAD,
though.

I'm not aware of any API changes in 5.04.2 relative to 5.04.1.

Cheers,
	Simon