Hey thanks!

I was wondering if that was the case, but I got confused when I saw that there is a free function for Mix music chunks.
I really appreciate the answer.

- Ian




On Jan 16, 2008 4:00 PM, Olivier Andrieu <oliv__a@users.sourceforge.net> wrote:
Hi !

On Jan 14, 2008 6:51 PM, Ian Finlayson <finlaysoni@gmail.com> wrote:
> Why is there no OcamlSDL function to free a loaded surface?  I am attempting
> to write a game using OcamlSDL, but I really need this capability.

The surface is registered in the OCaml garbage collector: you don't
have to do anything to free the surface, it will be automatically
freed after it's become unreachable in your program.

--
 Olivier