From 3c657c71ae806a04a5ecb19ca8af2485cf78dee2 Mon Sep 17 00:00:00 2001 Message-Id: <3c657c71ae806a04a5ecb19ca8af2485cf78dee2.1714490921.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 12 Nov 2001 22:20:40 +0000 Subject: [PATCH] DEALLOCATE-MEMORY should now actually free memory Organization: Straylight/Edgeware From: espen --- glib/glib.lisp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glib/glib.lisp b/glib/glib.lisp index 5ed1414..ef6e970 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)) -- [mdw]