Go to the first, previous, next, last section, table of contents.


The `#' Type Descriptor

This is like the `f' type descriptor for functions (see section Function Types), except that a function which uses the `#' type descriptor takes an extra argument as its first argument, for the this pointer. The `#' type descriptor is optionally followed by the types of the arguments, then another `#'. If the types of the arguments are omitted, so that the second `#' immediately follows the `#' which is the type descriptor, the arguments are being omitted (to save space) and can be deduced from the mangled name of the method. After the second `#' there is type information for the return type of the method and a semicolon.

Note that although such a type will normally be used to describe fields in structures, unions, or classes, for at least some versions of the compiler it can also be used in other contexts.


Go to the first, previous, next, last section, table of contents.