Next Previous Up Top Contents Index

1.5 Designator classes

alignment-of

Function

Summary

Takes a designator class and returns the alignment of the C type that the class designates.

Signature

alignment-of designator-class => alignment 

Arguments

designator-class
A subclass of <C-value>.

Values

alignment
An instance of <integer>.

Library

c-ffi

Module

c-ffi

Description

Takes a designator class and returns the alignment of the C type that the class designates. The alignment-of function can be applied to any designator class. It returns the alignment as an integer, in the same units as size-of does.


C FFI and Win 32 Reference - 31 MAR 2000

Next Previous Up Top Contents Index