Hi, The attached patch allows 'null-ok as an option in wct types. This fixes for example (g-main-loop-new #f), along with a patch I'm pushing now to guile-gnome.
Also available in the bzr archive at http://wingolog.org/bzr/g-wrap/wingo. Cheers, Wingo. -- http://wingolog.org/
# Bazaar revision bundle v0.8 # # message: # 2006-10-27 Andy Wingo <[EMAIL PROTECTED]> # # * guile/g-wrap/guile.scm (<gw-guile-wct>): Since in our methods we # handle null-ok, allow it in the type qualifier (typespec). Perhaps # this should go in <gw-wct> instead, though. # # committer: Andy Wingo <[EMAIL PROTECTED]> # date: Fri 2006-10-27 18:08:01.913000107 +0200 === modified file ChangeLog --- ChangeLog +++ ChangeLog @@ -1,3 +1,9 @@ +2006-10-27 Andy Wingo <[EMAIL PROTECTED]> + + * guile/g-wrap/guile.scm (<gw-guile-wct>): Since in our methods we + handle null-ok, allow it in the type qualifier (typespec). Perhaps + this should go in <gw-wct> instead, though. + 2006-10-26 Andy Wingo <[EMAIL PROTECTED]> * guile/g-wrap/guile-runtime.c (gw_module_binder_proc): Factor === modified file guile/g-wrap/guile.scm --- guile/g-wrap/guile.scm +++ guile/g-wrap/guile.scm @@ -746,7 +746,8 @@ ;;; (define-class <gw-guile-wct> (<gw-wct> <gw-guile-rti-type>) - wct-var-name) + wct-var-name + #:allowed-options '(null-ok)) (define-method (wrap-as-wct! (wrapset <gw-guile-wrapset>) . args) (let ((type (apply make <gw-guile-wct> args))) # revision id: [EMAIL PROTECTED] # sha1: 775fd52560b55121e23948da1649026bc7a897b0 # inventory sha1: 6df4c3c103e4c8ab2b17d3e2a0df7f26eca3aef0 # parent ids: # [EMAIL PROTECTED] # base id: [EMAIL PROTECTED] # properties: # branch-nick: wingo
_______________________________________________ g-wrap-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/g-wrap-dev
