Method Pike.low_check_call()
- Method low_check_call
typelow_check_call(typefun_type,typearg_type)
typelow_check_call(typefun_type,typearg_type,intflags)- Description
Check whether a function of type
fun_typemay be called with a first argument of typearg_type.- Parameter
flags The following flags are currently defined:
1Strict types. Fail if not all possible values in
arg_typeare valid as the first argument tofun_type.2Last argument.
arg_typeis the last argument tofun_type.3Both strict types and last argument as above.
- Returns
Returns a continuation type on success.
Returns 0 (zero) on failure.