Changeset 23719 for branches/pap/ppSub/src/ppSubErrorCodes.c.in
- Timestamp:
- Apr 6, 2009, 6:52:51 PM (17 years ago)
- Location:
- branches/pap/ppSub/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSubErrorCodes.c.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppSub/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppSubKernel 12 ppSubErrorCodes.h 13 ppSubErrorCodes.c
-
- Property svn:ignore
-
branches/pap/ppSub/src/ppSubErrorCodes.c.in
r23704 r23719 1 /** @file p swarpErrorCodes.c.in1 /** @file ppSubErrorCodes.c.in 2 2 * 3 3 * @brief 4 4 * 5 * @ingroup p swarp5 * @ingroup ppSub 6 6 * 7 7 * @author IfA … … 12 12 13 13 #include "pslib.h" 14 #include "p swarpErrorCodes.h"14 #include "ppSubErrorCodes.h" 15 15 16 16 /* 17 17 * The line 18 { P SWARP_ERR_$X{ErrorCode}, "$X{ErrorDescription}"},18 { PPSUB_ERR_$X{ErrorCode}, "$X{ErrorDescription}"}, 19 19 * (without the Xs) 20 20 * will be replaced by values from errorCodes.dat 21 21 */ 22 void p swarpErrorRegister(void)22 void ppSubErrorRegister(void) 23 23 { 24 24 static psErrorDescription errors[] = { 25 { P SWARP_ERR_BASE, "First value we use; lower values belong to psLib" },26 { P SWARP_ERR_${ErrorCode}, "${ErrorDescription}"},25 { PPSUB_ERR_BASE, "First value we use; lower values belong to psLib" }, 26 { PPSUB_ERR_${ErrorCode}, "${ErrorDescription}"}, 27 27 }; 28 static int nerror = P SWARP_ERR_NERROR - PSWARP_ERR_BASE; ///< number of values in enum28 static int nerror = PPSUB_ERR_NERROR - PPSUB_ERR_BASE; ///< number of values in enum 29 29 30 30 for (int i = 0; i < nerror; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
