ReflectedFunction

Represents information about a function.


$struct+ ReflectedFunction
{
    $ConstStringZ GetName() const { return m_name; }

    $ssize_t GetNumArgs() const { return m_numArgs; }
    $const ReflectedArg& GetArg(ssize_t i) const { return m_args[i]; }

    //////////////// State //////////////////
    ConstStringZ m_name;
    ReflectedReturnType m_returnType;
    const ReflectedArg* m_args;
    ssize_t m_numArgs;
    const octet_t* m_metaData;
};