Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
10c6fe75019ac28b6eb420a335f74c236d55f173
[simgrid.git] / include / xbt / function_types.h
1 /* $Id$ */
2
3 /* function_type.h - classical types for pointer to function                */
4
5 /* Copyright (c) 2004-2006 Martin Quinson.                                  */
6 /* Copyright (c) 2004 Arnaud Legrand.                                       */
7 /* All rights reserved.                                                     */
8
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. */
11
12 #ifndef XBT_FUNCTION_TYPE_H
13 #define XBT_FUNCTION_TYPE_H
14
15 #include "xbt/misc.h"
16
17 SG_BEGIN_DECL()
18
19    typedef void (void_f_ppvoid_t)(void**);
20    typedef void (void_f_pvoid_t) (void*);
21    typedef void (*void_f_void_t) (void);
22
23    typedef int  (int_f_pvoid_pvoid_t) (void*,void*);
24    
25    typedef int  (*int_f_void_t)   (void); /* FIXME: rename it to int_pf_void_t */
26
27 SG_END_DECL()
28
29 #endif /* XBT_MISC_H */