Free memory from the garbage collector

View: New views
1 Messages — Rating Filter:   Alert me  

Free memory from the garbage collector

by Javier Sancho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm developing a Lisp extension for making games with SDL and OpenGL
and I want to manage memory transparently for the programmer.

Memory is allocated from C functions calling malloc or other simillar
functions and lisp variables store the memory address. The idea is to
free memory from unused variables when garbage collector is invoked.

I've read extensively GCL documentation and I haven't found any
reference for doing something similar.

Can anyone help me? Thanks.

--
Javier Sancho Fernández - http://www.jsancho.org/
Associate Member of the Free Software Foundation - http://www.fsf.org/
Socio de Aditel - http://www.aditel.org/
Contra el DRM - http://www.defectivebydesign.org/what_is_drm


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel