pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:168:   o The Local module    All Pike modules and classes found in the directory hierarchies    /usr/local/pike_modules, /opt/pike_modules, /opt/share/pike_modules,    /usr/local/share/pike_modules, $HOME/pike_modules, and    $PIKE_LOCAL_PATH (a :-separated list of directories) are available    with the prefix "Local.". Local.add_path() and Local.remove_path()    respectively adds and removes entries from the list of paths to    inspect when resolving Local.* symbols.      o enum reserved +  An enum construct similar to that in C has been introduced. +  For example:    -  +  enum AlphaMode +  { +  Squares, +  Solid, +  None, +  AlphaOnly, +  }; +    o enum and typedef have implicit local binding      o ::_indices(), ::_values().    There are now two "magic" functions ::_indices() and ::_values()    that can be used by an object to list all identifiers and their    values in itself. They are primarily intended when the _indices()    and _values() lfuns have been defined, to get the default    implementations. This is to complement the "magic" ::`->() and    ::`->=() functions that exist in earlier releases.