wip .. provide our bootstrap memory layout in a header for the bootstrap and kernel...
[AROS.git] / tools / toollib / callback.h
blobecd461e1e4db8e5fddf26aa5584234677f6a1419
1 #ifndef TOOLLIB_CALLBACK_H
2 #define TOOLLIB_CALLBACK_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 typedef void * CBD;
10 typedef int (*CB) (void * obj, const void *data, CBD);
12 #define CallCB(cb,obj,cmd,data) ((*(cb))(obj,cmd,data))
14 #endif /* TOOLLIB_CALLBACK_H */