#ifndef GRAS_DATADESC_H
#define GRAS_DATADESC_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
#include "xbt/dynar.h" /* void_f_pvoid_t */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup GRAS_dd Data description
* @brief Describing data to be exchanged (Communication facility)
unsigned long howmany);
-END_DECL()
+SG_END_DECL()
#endif /* GRAS_DATADESC_H */
#ifndef GRAS_COND_H
#define GRAS_COND_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup GRAS_emul
* @brief Code execution "emulation" and "virtualization".
#define GRAS_BENCH_ONCE_RUN_ONCE_END() } gras_bench_once_end()
/** @} */
-END_DECL()
+SG_END_DECL()
#endif /* GRAS_COND_H */
#include "gras/transport.h"
#include "gras/datadesc.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup GRAS_msg
* @brief Defining messages and callbacks, and exchanging messages (Communication facility)
/* @} */
-END_DECL()
+SG_END_DECL()
#endif /* GRAS_MSG_H */
#ifndef GRAS_PROCESS_H
#define GRAS_PROCESS_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/* **************************************************************************
* Initializing the processes
#define gras_userdata_new(type) (gras_userdata_set(xbt_new0(type,1)),gras_userdata_get())
/* @} */
-END_DECL()
+SG_END_DECL()
#endif /* GRAS_PROCESS_H */
#include "xbt/misc.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup GRAS_timer
* @brief Delayed and repetitive tasks (Communication facility)
/** @} */
-END_DECL()
+SG_END_DECL()
#endif /* GRAS_TIMER_H */
#ifndef GRAS_VIRTU_H
#define GRAS_VIRTU_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup GRAS_virtu
* @brief System call abstraction layer (Virtualization).
int gras_os_getpid(void);
/** @} */
-END_DECL()
+SG_END_DECL()
#endif /* GRAS_VIRTU_H */
#define MSG_DATATYPE_H
#include "xbt/misc.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
/* ******************************** Host ************************************ */
/** @defgroup m_datatypes_management_details */
} MSG_error_t;
/** @} */
-END_DECL()
+SG_END_DECL()
#endif
#include "xbt/misc.h"
#include "xbt/sysdep.h"
-BEGIN_DECL()
#include "msg/datatypes.h"
+SG_BEGIN_DECL()
+
/************************** Global ******************************************/
void MSG_config(const char *name, ...);
double MSG_task_get_remaining_computation(m_task_t task);
double MSG_task_get_data_size(m_task_t task);
-END_DECL()
+SG_END_DECL()
#endif
#include "xbt/misc.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
/**
* \addtogroup XBT_error
/** @} */
-END_DECL()
+SG_END_DECL()
#endif /* _XBT_ASSERTS_H */
#include "xbt/dynar.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup XBT_config
*
/** @} */
/** @} */
-END_DECL()
+SG_END_DECL()
#endif /* _XBT_CONFIG_H_ */
#ifndef _XBT_DICT_H
#define _XBT_DICT_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
#include "xbt/dynar.h" /* void_f_pvoid_t */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup XBT_dict
*
/** @} */
/** @} */
-END_DECL()
+SG_END_DECL()
#endif /* _XBT_DICT_H */
#ifndef _XBT_DYNAR_H
#define _XBT_DYNAR_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** \addtogroup XBT_dynar
*
xbt_dynar_cursor_step(_dynar,&(_cursor)) )
-END_DECL()
+SG_END_DECL()
/* @} */
#endif /* _XBT_DYNAR_H */
#ifndef _XBT_FIFO_H
#define _XBT_FIFO_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** \addtogroup XBT_fifo
* @{ */
xbt_fifo_item_t xbt_fifo_getPrevItem(xbt_fifo_item_t i);
/** @} */
-END_DECL()
+SG_END_DECL()
/** @} */
#endif /* _XBT_FIFO_H */
#define XBT_MAX_CHANNEL 10 /* FIXME: killme */
/*! C++ users need love */
-#ifndef BEGIN_DECL
+#ifndef SG_BEGIN_DECL
# ifdef __cplusplus
-# define BEGIN_DECL() extern "C" {
+# define SG_BEGIN_DECL() extern "C" {
# else
-# define BEGIN_DECL()
+# define SG_BEGIN_DECL()
# endif
#endif
/*! C++ users need love */
-#ifndef END_DECL
+#ifndef SG_END_DECL
# ifdef __cplusplus
-# define END_DECL() }
+# define SG_END_DECL() }
# else
-# define END_DECL()
+# define SG_END_DECL()
# 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;
const char *xbt_procname(void);
-END_DECL()
+SG_END_DECL()
#endif /* XBT_MISC_H */
#ifndef _XBT_SET_H
#define _XBT_SET_H
-#include "xbt/misc.h" /* BEGIN_DECL */
+#include "xbt/misc.h" /* SG_BEGIN_DECL */
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup XBT_set
*
/* @} */
/* @} */
-END_DECL()
+SG_END_DECL()
#endif /* _XBT_SET_H */
#include "xbt/misc.h"
#include "xbt/asserts.h"
-BEGIN_DECL()
+SG_BEGIN_DECL()
/** @addtogroup XBT_syscall
* @{
int vasprintf (char **ptr, const char *fmt, va_list ap);
char *bprintf(const char*fmt, ...) _XBT_GNUC_PRINTF(1,2);
-END_DECL()
+SG_END_DECL()
#endif /* _XBT_SYSDEP_H */