chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b3c82f4
)
Update to match changes in gtype.lisp
author
espen
<espen>
Sun, 21 Oct 2001 22:02:01 +0000
(22:02 +0000)
committer
espen
<espen>
Sun, 21 Oct 2001 22:02:01 +0000
(22:02 +0000)
glib/gboxed.lisp
patch
|
blob
|
blame
|
history
glib/genums.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/gboxed.lisp
b/glib/gboxed.lisp
index f2aa8a27ac07eefcd2dc27ad36ab673c7c5c43f4..cfcaa2e8f7d256aff7cedc56199c9cbc6e946dee 100644
(file)
--- a/
glib/gboxed.lisp
+++ b/
glib/gboxed.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: gboxed.lisp,v 1.
5 2001/05/31 12:36:20
espen Exp $
+;; $Id: gboxed.lisp,v 1.
6 2001/10/21 22:02:01
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-67,7
+67,7
@@
(defun expand-boxed-type (type-number &optional slots)
(:metaclass boxed-class)
(:alien-name ,(find-type-name type-number))))
(:metaclass boxed-class)
(:alien-name ,(find-type-name type-number))))
-(register-derivable-type 'boxed "GBoxed"
:expand
'expand-boxed-type)
+(register-derivable-type 'boxed "GBoxed" 'expand-boxed-type)
;;;; Special boxed types
;;;; Special boxed types
diff --git
a/glib/genums.lisp
b/glib/genums.lisp
index 1c61395bd78e13abac4fd20c3e84f11a759551eb..78c9e0c7950dcadb5cee94d41bc76d83195c0fd3 100644
(file)
--- a/
glib/genums.lisp
+++ b/
glib/genums.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: genums.lisp,v 1.
2 2001/05/11 16:04:33
espen Exp $
+;; $Id: genums.lisp,v 1.
3 2001/10/21 22:02:01
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-164,9
+164,10
@@
(defun query-flags-values (type)
;;;;
;;;;
-(defun expand-enum-type (type-number &optional
mapping
s)
+(defun expand-enum-type (type-number &optional
option
s)
(let* ((super (supertype type-number))
(type (type-from-number type-number))
(let* ((super (supertype type-number))
(type (type-from-number type-number))
+ (mappings (getf options :mappings))
(expanded-mappings
(append
(delete-if
(expanded-mappings
(append
(delete-if
@@
-184,6
+185,6
@@
(defun expand-enum-type (type-number &optional mappings)
(deftype ,type () '(,super ,@expanded-mappings)))))
(deftype ,type () '(,super ,@expanded-mappings)))))
-(register-derivable-type 'enum "GEnum"
:expand
'expand-enum-type)
-(register-derivable-type 'flags "GFlags"
:expand
'expand-enum-type)
+(register-derivable-type 'enum "GEnum" 'expand-enum-type)
+(register-derivable-type 'flags "GFlags" 'expand-enum-type)