2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: autoinit library - functions sets handling
11 #include <aros/symbolsets.h>
12 #include <aros/debug.h>
14 int _set_call_funcs(const void * const set
[], int direction
, int test_fail
, struct ExecBase
*SysBase
)
16 int pos
, (*func
)(struct ExecBase
*SysBase
);
18 D(bug("entering set_call_funcs() - %p\n", set
));
20 ForeachElementInSet(set
, direction
, pos
, func
)
22 D(bug(" %p[%d] %p()", set
, pos
, func
));
26 int ret
= (*func
)(SysBase
);
27 D(bug(" => %d", ret
));
33 (void)(*func
)(SysBase
);