From: espen Date: Mon, 12 Nov 2001 22:20:40 +0000 (+0000) Subject: DEALLOCATE-MEMORY should now actually free memory X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/commitdiff_plain/3c657c71ae806a04a5ecb19ca8af2485cf78dee2?hp=1f518a5194eb0085bcd6f536c1608e9c38ad2729 DEALLOCATE-MEMORY should now actually free memory --- 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))