dos.library: Possibly uninitialized 'res', and divide by zero if blocklen = 0
[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 */