bindExternalFunctionType method
void
bindExternalFunctionType(
- String id,
- HTExternalFunctionTypedef function, {
- bool override = true,
Register a external function typedef into scrfipt
Implementation
void bindExternalFunctionType(String id, HTExternalFunctionTypedef function,
{bool override = true}) {
if (externalFunctionTypedefs.containsKey(id) && !override) {
throw HTError.defined(id, HTErrorType.runtimeError);
}
externalFunctionTypedefs[id] = function;
}