3 /* function_type.h - classical types for pointer to function */
5 /* Copyright (c) 2004-2006 Martin Quinson. */
6 /* Copyright (c) 2004 Arnaud Legrand. */
7 /* All rights reserved. */
9 /* This program is free software; you can redistribute it and/or modify it
10 * under the terms of the license (GNU LGPL) which comes with this package. */
12 #ifndef XBT_FUNCTION_TYPE_H
13 #define XBT_FUNCTION_TYPE_H
19 typedef void (*void_f_ppvoid_t)(void**);
20 typedef void (*void_f_pvoid_t) (void*);
21 typedef void* (*pvoid_f_void_t)(void);
22 typedef void* (*pvoid_f_pvoid_t)(void*);
23 typedef void (*void_f_void_t) (void);
25 typedef int (*int_f_void_t) (void);
27 typedef int (*int_f_pvoid_pvoid_t) (void*,void*);
29 typedef int (*xbt_main_func_t)(int argc, char *argv[]);
33 #endif /* XBT_FUNCTION_TYPE_H */