pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:136:
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. o UNDEFINED o _m_delete
+
There is now an LFUN mixed _m_delete(mixed index) to overload in
+
your classes to imitate mappings. It gets invoked when m_delete
+
is performed on your object.
o :: includes current class class X { int i; void create (int i) {X::i = i;} } New modules / classes / methods added: --------------------------------------