FFI::alignof

Gets the alignment

説明

public static int FFI::alignof(FFI\CDataFFI\CType &$ptr)

Gets the alignment of the given FFI\CData or FFI\CType object.

パラメータ

ptr

The handle of the C data or type.

戻り値

Returns the alignment of the given FFI\CData or FFI\CType object.