A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use BEGIN_DECL (ie, useless cleanup); picky documentation improvement
[simgrid.git]
/
include
/
xbt
/
dict.h
diff --git
a/include/xbt/dict.h
b/include/xbt/dict.h
index
5ece5d5
..
2728e7d
100644
(file)
--- a/
include/xbt/dict.h
+++ b/
include/xbt/dict.h
@@
-12,11
+12,9
@@
#define _XBT_DICT_H
#include "xbt/misc.h" /* BEGIN_DECL */
#define _XBT_DICT_H
#include "xbt/misc.h" /* BEGIN_DECL */
-#include "xbt/error.h"
/* BEGIN_DECL */
+#include "xbt/error.h"
-#ifdef __cplusplus
-extern "C"
-#endif
+BEGIN_DECL
/*####[ Type definition ]####################################################*/
typedef struct xbt_dict_ *xbt_dict_t;
/*####[ Type definition ]####################################################*/
typedef struct xbt_dict_ *xbt_dict_t;
@@
-143,8
+141,6
@@
int xbt_dict_cursor_get_or_free (xbt_dict_cursor_t *cursor,
xbt_dict_cursor_get_or_free(&(cursor),&(key),(void**)(&data));\
xbt_dict_cursor_step(cursor) )
xbt_dict_cursor_get_or_free(&(cursor),&(key),(void**)(&data));\
xbt_dict_cursor_step(cursor) )
-#ifdef __cplusplus
-}
-#endif
+END_DECL
#endif /* _XBT_DICT_H */
#endif /* _XBT_DICT_H */