mirror of
https://github.com/ldmud/ldmud
synced 2026-08-12 14:26:05 -04:00
Simul-efun implementations of deprecated efuns from the mud Seifenblase by Myonara@UNItopia and Gnomi@UNItopia.
15 lines
406 B
C
15 lines
406 B
C
/* This sefun is to provide a replacement for the efun map_mapping().
|
|
* Feel free to add it to your mudlibs, if you have much code relying on that.
|
|
*/
|
|
|
|
#if ! __EFUN_DEFINED__(map_mapping)
|
|
|
|
mapping map_mapping(mapping m, string|closure|mapping f, varargs mixed* args)
|
|
{
|
|
if (efun::extern_call())
|
|
efun::set_this_object(efun::previous_object());
|
|
|
|
return map_indices(m, f, args...);
|
|
}
|
|
|
|
#endif
|