| |
- add(...)
- add(type, function)
Register a new hook function. Hook functions should take one argument:
an information string that can be parsed with hooks.parse_info
- build_info(...)
- build_info(format, args)
Returns hook information from a string format and a tuple of values for
the format. Format arguments must be space-separated. They include:
ch, rm, obj, ex, sk, str, int, dbl.
- parse_info(...)
- parse_info(info)
Returns a tuple of parsed hook information.
- remove(...)
- remove(type, function)
Unregister a hook function.
- run(...)
- run(hooktypes)
Runs hooks registered to the given type.
|