ldmud-3.2.9/doc/
ldmud-3.2.9/doc/efun/
ldmud-3.2.9/mud/
ldmud-3.2.9/mud/heaven7/
ldmud-3.2.9/mud/heaven7/lib/
ldmud-3.2.9/mud/lp-245/
ldmud-3.2.9/mud/lp-245/banish/
ldmud-3.2.9/mud/lp-245/doc/
ldmud-3.2.9/mud/lp-245/doc/examples/
ldmud-3.2.9/mud/lp-245/doc/sefun/
ldmud-3.2.9/mud/lp-245/log/
ldmud-3.2.9/mud/lp-245/obj/Go/
ldmud-3.2.9/mud/lp-245/players/lars/
ldmud-3.2.9/mud/lp-245/room/death/
ldmud-3.2.9/mud/lp-245/room/maze1/
ldmud-3.2.9/mud/lp-245/room/sub/
ldmud-3.2.9/mud/lp-245/secure/
ldmud-3.2.9/mud/morgengrauen/
ldmud-3.2.9/mud/morgengrauen/lib/
ldmud-3.2.9/mud/sticklib/
ldmud-3.2.9/mud/sticklib/src/
ldmud-3.2.9/mudlib/uni-crasher/
ldmud-3.2.9/pkg/
ldmud-3.2.9/pkg/debugger/
ldmud-3.2.9/pkg/diff/
ldmud-3.2.9/pkg/misc/
ldmud-3.2.9/src/autoconf/
ldmud-3.2.9/src/bugs/
ldmud-3.2.9/src/bugs/MudCompress/
ldmud-3.2.9/src/bugs/b-020916-files/
ldmud-3.2.9/src/bugs/doomdark/
ldmud-3.2.9/src/bugs/ferrycode/ferry/
ldmud-3.2.9/src/bugs/ferrycode/obj/
ldmud-3.2.9/src/bugs/psql/
ldmud-3.2.9/src/done/
ldmud-3.2.9/src/done/order_alist/
ldmud-3.2.9/src/done/order_alist/obj/
ldmud-3.2.9/src/done/order_alist/room/
ldmud-3.2.9/src/gcc/
ldmud-3.2.9/src/gcc/2.7.0/
ldmud-3.2.9/src/gcc/2.7.1/
ldmud-3.2.9/src/hosts/
ldmud-3.2.9/src/hosts/GnuWin32/
ldmud-3.2.9/src/hosts/amiga/NetIncl/
ldmud-3.2.9/src/hosts/amiga/NetIncl/netinet/
ldmud-3.2.9/src/hosts/amiga/NetIncl/sys/
ldmud-3.2.9/src/hosts/i386/
ldmud-3.2.9/src/hosts/msdos/byacc/
ldmud-3.2.9/src/hosts/msdos/doc/
ldmud-3.2.9/src/hosts/os2/
ldmud-3.2.9/src/hosts/win32/
ldmud-3.2.9/src/util/
ldmud-3.2.9/src/util/erq/
ldmud-3.2.9/src/util/indent/hosts/next/
ldmud-3.2.9/src/util/xerq/
ldmud-3.2.9/src/util/xerq/lpc/
ldmud-3.2.9/src/util/xerq/lpc/www/
SYNOPSIS
        mixed get_type_info(mixed arg, int flag)

DESCRIPTION
        Returns info about the type of arg, as controlled by the flag.

        If the optional argument <flag> is not a number, an array is
        returned, whose first element is an integer denoting the data
        type, as defined in <lpctypes.h>. The second entry can contain
        additional information about arg.

        If <flag> flag is the number 0, only the first element of that array
        (i.e. the data type) is returned (as int). If <flag> is 1, the
        second element is returned.

        If <arg> is a closure, the <flag> setting 2 lets the efun
        return the object of the closure (which for 'alien lfun closures' is
        the object the lfun is defined in, not the object the closure is
        bound to).

        For every other <flag> setting, -1 is returned.

        The secondary information is:
          - for mappings the width, ie the number of data items per key.
          - for symbols and quoted arrays the number of quotes.
          - for closures, the (internal) closure type.
          - for strings 0 for shared strings, and non-0 for others.
          - -1 for all other datatypes.

BUGS
        This function seems to be due to frequent changes as the
        driver develops resp. is debugged.

HISTORY
        Introduced in 3.2@127
        Flag setting 2 was introduced in 3.2.1@84.
        Secondary string information was introduced in 3.2.7.
        Up to 3.2.7 inclusive, get_type_info(closure,2) did not return
          the object from a lambda closure or bound-lambda closure.
        Up to 3.2.9 inclusive, get_type_info(closure,2) did not return
          the object from a efun, simul-efun or operator closure.

SEE ALSO
        debug_info(E), typeof(E), to_object(E)