FFI\CType::getFuncParameterCount

Retrieve the count of parameters of a function type

Description

public int FFI\CType::getFuncParameterCount()

Parameters

This function has no parameters.

Return Values

Returns the number of parameters for the underlying function type. If the underlying type is not a function, an FFI\Exception is thrown.