3-37
Interface Repository Framework Reference
TypeCode_alignment Function
Purpose
Supplies the alignment value for a given TypeCode.
IDL Syntax
short TypeCode_alignment ( );
Description
This function returns the alignment information associated with the given TypeCode. The
alignment value is a short integer that should evenly divide any memory address where an
instance of the type described by the TypeCode will occur.
Parameters
tc The TypeCode whose alignment information is desired.
ev A pointer to an Environment structure.
Return Value
A short integer containing the alignment value.
Related Information
Functions: TypeCodeNew, TypeCode_equal, TypeCode_free, TypeCode_kind,
TypeCode_param_count, TypeCode_parameter, TypeCode_print,
TypeCode_setAlignment, TypeCode_size
Komentarze do niniejszej Instrukcji