X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=glib%2Fglib.lisp;h=cdd1d1ab1c0d16b2b62c7a41fddbcef13ee5aab4;hb=2a8132f9a0e3e679e63d6f5afd64a8373aeaf880;hp=8398148cb5043b374158eaabdd1031d4e771a9ab;hpb=1f9c939a43d645eaf55e4d375f6b1b609dd1c5bd;p=cl-gtk2.git diff --git a/glib/glib.lisp b/glib/glib.lisp index 8398148..cdd1d1a 100644 --- a/glib/glib.lisp +++ b/glib/glib.lisp @@ -156,6 +156,8 @@ In this example, for every @code{class}, @code{(initialize-gobject-class-g-type (cond ((cffi-features:cffi-feature-p :x86-64) (defctype gsize :uint64)) ((cffi-features:cffi-feature-p :x86) (defctype gsize :ulong)) + ((cffi-features:cffi-feature-p :ppc32) (defctype gsize :uint32)) + ((cffi-features:cffi-feature-p :ppc64) (defctype gsize :uint64)) (t (error "Can not define 'gsize', unknown CPU architecture (known are x86 and x86-64)")))) (defctype gssize :long)