Updated for glib 2.0.0
[clg] / glib / gparam.lisp
index 21b5457..9e7b91c 100644 (file)
 ;; 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: gparam.lisp,v 1.3 2001-05-11 16:06:02 espen Exp $
+;; $Id: gparam.lisp,v 1.6 2002-03-19 17:01:42 espen Exp $
 
 (in-package "GLIB")
 
 (deftype gvalue () 'pointer)
 
-(defconstant +gvalue-size+ (+ (size-of 'type-number) (* 4 (size-of 'double-float))))
+(defconstant +gvalue-size+ (+ (size-of 'type-number) (* 2 (size-of 'double-float))))
 (defconstant +gvalue-value-offset+ (size-of 'type-number))
 
 (defbinding (gvalue-init "g_value_init") () nil
       :allocation :alien
       :reader param-name
       :type string)
-     (nickname
-      :allocation :alien
-      :reader param-nickname
-      :type string)
-     (documentation
-      :allocation :alien
-      :reader param-documentation
-      :type string)
      (flags
       :allocation :alien
       :reader param-flags
       :type param-flag-type)
-     (type
+     (value-type
       :allocation :alien
-      :reader param-type
-      :type type-number))
+      :reader param-value-type
+      :type type-number)
+     (owner-type
+      :allocation :alien
+      :reader param-owner-type
+      :type type-number)
+     (nickname
+      :allocation :virtual
+      :getter "g_param_spec_get_nick"
+      :reader param-nickname
+      :type string)
+     (documentation
+      :allocation :virtual
+      :getter "g_param_spec_get_blurb"
+      :reader param-documentation
+      :type string))
     (:metaclass ginstance-class)
     (:ref "g_param_spec_ref")
     (:unref "g_param_spec_unref")))
     :type unsigned-int))
   (:metaclass ginstance-class))
 
-(defclass param-closure (param)
-  ()
-  (:metaclass ginstance-class))
+;; (defclass param-closure (param)
+;;   ()
+;;   (:metaclass ginstance-class))
 
 (defclass param-object (param)
   ()