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
Rename BEGIN_DECL since we changed the usual definition to a macro with arguments...
[simgrid.git]
/
include
/
xbt
/
misc.h
diff --git
a/include/xbt/misc.h
b/include/xbt/misc.h
index
0a97552
..
2842868
100644
(file)
--- a/
include/xbt/misc.h
+++ b/
include/xbt/misc.h
@@
-57,25
+57,25
@@
#define XBT_MAX_CHANNEL 10 /* FIXME: killme */
/*! C++ users need love */
#define XBT_MAX_CHANNEL 10 /* FIXME: killme */
/*! C++ users need love */
-#ifndef BEGIN_DECL
+#ifndef
SG_
BEGIN_DECL
# ifdef __cplusplus
# ifdef __cplusplus
-# define BEGIN_DECL() extern "C" {
+# define
SG_
BEGIN_DECL() extern "C" {
# else
# else
-# define BEGIN_DECL()
+# define
SG_
BEGIN_DECL()
# endif
#endif
/*! C++ users need love */
# endif
#endif
/*! C++ users need love */
-#ifndef END_DECL
+#ifndef
SG_
END_DECL
# ifdef __cplusplus
# ifdef __cplusplus
-# define END_DECL() }
+# define
SG_
END_DECL() }
# else
# else
-# define END_DECL()
+# define
SG_
END_DECL()
# endif
#endif
/* End of cruft for C++ */
# endif
#endif
/* End of cruft for C++ */
-BEGIN_DECL()
+
SG_
BEGIN_DECL()
/* Dunno where to place this: needed by config and amok */
typedef struct {
char *name;
/* Dunno where to place this: needed by config and amok */
typedef struct {
char *name;
@@
-84,6
+84,6
@@
typedef struct {
const char *xbt_procname(void);
const char *xbt_procname(void);
-END_DECL()
+
SG_
END_DECL()
#endif /* XBT_MISC_H */
#endif /* XBT_MISC_H */