[ Version ( since = "1.6" ) ]
public bool map_in_place (CapsMapFunc func)
Calls the provided function once for each structure and caps feature in the Caps.
In contrast to @foreach, the function may modify but not delete the structures and features. The caps must be mutable.
| this |
a Caps |
| func |
a function to call for each field |
| user_data |
private data |
|
true if the supplied function returns true for each call, false otherwise. |