include/unix/applicfg.h
changeset 71 95cd3376cc9f
parent 24 a9543d2ccd56
child 145 e747d2e26af0
--- a/include/unix/applicfg.h	Thu Jan 25 16:49:51 2007 +0100
+++ b/include/unix/applicfg.h	Thu Jan 25 17:36:58 2007 +0100
@@ -29,25 +29,26 @@
 #include "cancfg.h"
 #include "timerscfg.h"
 
-// Define the architecture : little_endian or big_endian
-// -----------------------------------------------------
-// Test :
-// UNS32 v = 0x1234ABCD;
-// char *data = &v;
-//
-// Result for a little_endian architecture :
-// data[0] = 0xCD;
-// data[1] = 0xAB;
-// data[2] = 0x34;
-// data[3] = 0x12;
-//
-// Result for a big_endian architecture :
-// data[0] = 0x12;
-// data[1] = 0x34;
-// data[2] = 0xAB;
-// data[3] = 0xCD;
+/*  Define the architecture : little_endian or big_endian
+ -----------------------------------------------------
+ Test :
+ UNS32 v = 0x1234ABCD;
+ char *data = &v;
 
-// Integers
+ Result for a little_endian architecture :
+ data[0] = 0xCD;
+ data[1] = 0xAB;
+ data[2] = 0x34;
+ data[3] = 0x12;
+
+ Result for a big_endian architecture :
+ data[0] = 0x12;
+ data[1] = 0x34;
+ data[2] = 0xAB;
+ data[3] = 0xCD;
+ */
+
+/* Integers */
 #define INTEGER8 char
 #define INTEGER16 short
 #define INTEGER24
@@ -57,7 +58,7 @@
 #define INTEGER56
 #define INTEGER64
 
-// Unsigned integers
+/* Unsigned integers */
 #define UNS8   unsigned char
 #define UNS16  unsigned short
 #define UNS32  unsigned long
@@ -67,18 +68,18 @@
 #define UNS56
 #define UNS64 
 
-// Reals
+/* Reals */
 #define REAL32	float
 #define REAL64 double
 
-/// Definition of error and warning macros
-// --------------------------------------
+/* Definition of error and warning macros */
+/* -------------------------------------- */
 #if defined DEBUG_ERR_CONSOLE_ON || defined DEBUG_WAR_CONSOLE_ON
 #include <stdio.h>
 #endif
 
-/// Definition of MSG_ERR
-// ---------------------
+/* Definition of MSG_ERR */
+/* --------------------- */
 #ifdef DEBUG_ERR_CONSOLE_ON
 #    define MSG_ERR(num, str, val)/*            \
           printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val);*/
@@ -86,8 +87,8 @@
 #    define MSG_ERR(num, str, val)
 #endif
 
-/// Definition of MSG_WAR
-// ---------------------
+/* Definition of MSG_WAR */
+/* --------------------- */
 #ifdef DEBUG_WAR_CONSOLE_ON
 #    define MSG_WAR(num, str, val)/*          \
           printf("%s,%d : 0X%x %s 0X%x \n",__FILE__, __LINE__,num, str, val);*/