chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
636746d
)
DEALLOCATE-MEMORY should now actually free memory
author
espen
<espen>
Mon, 12 Nov 2001 22:20:40 +0000
(22:20 +0000)
committer
espen
<espen>
Mon, 12 Nov 2001 22:20:40 +0000
(22:20 +0000)
glib/glib.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/glib.lisp
b/glib/glib.lisp
index 68bda1999cb7c3ecf5e96a460623760a4b59968a..584ee6fbc45e709ccb6277609dacbd0e19301ced 100644
(file)
--- 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
;; 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.1
0 2001/05/11 16:00:33
espen Exp $
+;; $Id: glib.lisp,v 1.1
1 2001/11/12 22:20:40
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-32,10
+32,10
@@
(defbinding (reallocate-memory "g_realloc") () pointer
(address pointer)
(size unsigned-long))
(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))
(defun copy-memory (from length &optional (to (allocate-memory length)))
(kernel:system-area-copy from 0 to 0 (* 8 length))