projects
/
cl-gtk2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88cb085
)
Add gsize types for PPC32 and PPC64 archs
author
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Wed, 9 Jun 2010 12:06:31 +0000
(16:06 +0400)
committer
Dmitry Kalyanov
<Kalyanov.Dmitry@gmail.com>
Wed, 9 Jun 2010 12:06:31 +0000
(16:06 +0400)
glib/glib.lisp
patch
|
blob
|
history
diff --git
a/glib/glib.lisp
b/glib/glib.lisp
index
8398148
..
cdd1d1a
100644
(file)
--- 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)