From: espen Date: Mon, 12 Nov 2001 22:20:40 +0000 (+0000) Subject: DEALLOCATE-MEMORY should now actually free memory X-Git-Tag: clg-0-90~351 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/commitdiff_plain/3fa4f6bdab597b9cdb3fc42d06ca34e051b5ae41 DEALLOCATE-MEMORY should now actually free memory --- diff --git a/glib/glib.lisp b/glib/glib.lisp index 68bda19..584ee6f 100644 --- a/glib/glib.lisp +++ b/glib/glib.lisp @@ -15,7 +15,7 @@ ;; License along with this library; if not, write to the Free Software ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -;; $Id: glib.lisp,v 1.10 2001/05/11 16:00:33 espen Exp $ +;; $Id: glib.lisp,v 1.11 2001/11/12 22:20:40 espen Exp $ (in-package "GLIB") @@ -32,10 +32,10 @@ (defbinding (reallocate-memory "g_realloc") () pointer (address pointer) (size unsigned-long)) -;(defbinding (deallocate-memory "g_free") () nil -; (address pointer)) -(defun deallocate-memory (address) - (declare (ignore address))) +(defbinding (deallocate-memory "g_free") () nil + (address pointer)) +;(defun deallocate-memory (address) +; (declare (ignore address))) (defun copy-memory (from length &optional (to (allocate-memory length))) (kernel:system-area-copy from 0 to 0 (* 8 length))