pike.git/
lib/
modules/
Array.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2003-04-28
2003-04-28 15:06:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>
cfec3a5b7087b49ecc8ce5bf94c5fe620f8a2d43 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Improved typing.
Rev: lib/modules/Array.pmod:1.86
543:
//! @note //! Prior to Pike 7.5.7 it was not safe to call this function //! with cyclic data-structures.
-
array flatten(array a, mapping|void state)
+
array flatten(array a, mapping
(array:array)
|void state)
{ if (state && state[a]) return state[a]; if (!state) state = ([a:({})]);