Add c-type-align
This commit is contained in:
parent
bc4befe2d1
commit
e9bacd4b0f
|
|
@ -19,7 +19,6 @@
|
||||||
((eq? type 'float) (c-sizeof float))
|
((eq? type 'float) (c-sizeof float))
|
||||||
((eq? type 'double) (c-sizeof double))
|
((eq? type 'double) (c-sizeof double))
|
||||||
((eq? type 'pointer) (c-sizeof void*))
|
((eq? type 'pointer) (c-sizeof void*))
|
||||||
((eq? type 'struct) (c-sizeof void*))
|
|
||||||
((eq? type 'callback) (c-sizeof void*))
|
((eq? type 'callback) (c-sizeof void*))
|
||||||
((eq? type 'void) 0)
|
((eq? type 'void) 0)
|
||||||
(else #f))))
|
(else #f))))
|
||||||
|
|
@ -45,7 +44,6 @@
|
||||||
((eq? type 'float) (alignof:float))
|
((eq? type 'float) (alignof:float))
|
||||||
((eq? type 'double) (alignof:double))
|
((eq? type 'double) (alignof:double))
|
||||||
((eq? type 'pointer) (alignof:void*))
|
((eq? type 'pointer) (alignof:void*))
|
||||||
((eq? type 'struct) (alignof:void*))
|
|
||||||
((eq? type 'callback) (alignof:void*))
|
((eq? type 'callback) (alignof:void*))
|
||||||
((eq? type 'void) 0)
|
((eq? type 'void) 0)
|
||||||
(else #f))))
|
(else #f))))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue