$Id: typeinfo 20675 2005-01-06 16:33:18Z mvidner $

For each function that is to be visible to YCP there must be a
TYPEINFO entry defined in a BEGIN block:

BEGIN { $TYPEINFO{myfunc} = ["function", "void", "string"]; }

TYPEINFOs are lisp-like structures.
At the top level, there must be this:
["function", ret_TI, arg0_TI, arg1_TI, ...]

Then some atomic types
"any"
"void"
"boolean"
"integer"
"float"
"string"
Or structured types
["list", val_TI]
["map", key_TI, val_TI]

The special boolean entry $TYPEINFO{ALL_METHODS} determines whether
YCP will pass the package name as the first argument to all
functions. The default is true. For SWIG generated typeinfos, it is
set to false.
