FFI::typeof

Gets the FFI\CType of FFI\CData

Description

public static FFI\CType FFI::typeof(FFI\CData &$ptr)

Gets the FFI\CType object representing the type of the given FFI\CData object.

Parameters

ptr

The handle of the pointer to a C data structure.

Return Values

Returns the FFI\CType object representing the type of the given FFI\CData object.