Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid C++ comments.
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 24 Feb 2009 08:44:02 +0000 (08:44 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 24 Feb 2009 08:44:02 +0000 (08:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6141 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/ex.h
include/xbt/queue.h
include/xbt/sysdep.h

index 5763ec9..e3a8d14 100644 (file)
@@ -413,7 +413,7 @@ extern void __xbt_ex_terminate_default(xbt_ex_t *e);
      xbt_backtrace_current( (xbt_ex_t *) &(_throw_ctx->ctx_ex) );         \
      DO_THROW(_throw_ctx->ctx_ex);                                        \
   } while (0)
-//     __xbt_ex_ctx()->ctx_ex.used     = backtrace((void**)__xbt_ex_ctx()->ctx_ex.bt,XBT_BACKTRACE_SIZE);
+/*     __xbt_ex_ctx()->ctx_ex.used     = backtrace((void**)__xbt_ex_ctx()->ctx_ex.bt,XBT_BACKTRACE_SIZE); */
 
 /** @brief Builds and throws an exception with a string taking no arguments
     @hideinitializer */
index 764539e..136ac04 100644 (file)
@@ -12,7 +12,7 @@
 #define _XBT_QUEUE_H
 
 #include "xbt/misc.h" /* SG_BEGIN_DECL */
-//#include "xbt/function_types.h"
+/* #include "xbt/function_types.h" */
 
 SG_BEGIN_DECL()
 
index 2a0c78b..0d515ca 100644 (file)
@@ -60,7 +60,7 @@ static XBT_INLINE char *xbt_strdup(const char *s) {
     @hideinitializer */
 static XBT_INLINE void *xbt_malloc(unsigned int n){
   void *res;
-//  if (n==0) xbt_die("malloc(0) is not portable");
+/*  if (n==0) xbt_die("malloc(0) is not portable"); */
   res=malloc(n);
   if (!res)
      xbt_die(bprintf("Memory allocation of %d bytes failed",n));
@@ -71,7 +71,7 @@ static XBT_INLINE void *xbt_malloc(unsigned int n){
     @hideinitializer */
 static XBT_INLINE void *xbt_malloc0(unsigned int n) {
   void *res;
-//  if (n==0) xbt_die("calloc(0) is not portable");
+/*  if (n==0) xbt_die("calloc(0) is not portable"); */
   res=calloc(n,1);
   if (!res)
      xbt_die(bprintf("Memory callocation of %d bytes failed",n));
@@ -82,7 +82,7 @@ static XBT_INLINE void *xbt_malloc0(unsigned int n) {
     @hideinitializer */
 static XBT_INLINE void *xbt_realloc(void*p,unsigned int s){
   void *res=res;
-//  if (s==0) xbt_die("realloc(0) is not portable");
+/*  if (s==0) xbt_die("realloc(0) is not portable"); */
   if (s) {
     if (p) {
       res=realloc(p,s);