Mercurial > hg > dmlib
annotate src/dmargs.c @ 958:985225a93aeb
Add error code parameter to dmError() and dmErrorVA().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Feb 2015 03:58:25 +0200 |
parents | daebbf28953d |
children | ddec147d1f90 |
rev | line source |
---|---|
0 | 1 #include "dmargs.h" |
2 #define TH_EXTERNAL 1 | |
860
daebbf28953d
The argument handling API in dmargs* was synced with th-libs.
Matti Hamalainen <ccr@tnsp.org>
parents:
812
diff
changeset
|
3 #define th_optarg_t DMOptArg |
0 | 4 #define th_args_process dmArgsProcess |
5 #define th_args_help dmArgsPrintHelp | |
6 | |
958
985225a93aeb
Add error code parameter to dmError() and dmErrorVA().
Matti Hamalainen <ccr@tnsp.org>
parents:
860
diff
changeset
|
7 #define THERR dmErrorMsg |
0 | 8 #define th_calloc dmCalloc |
9 #define th_malloc dmMalloc | |
10 #define th_free dmFree | |
11 | |
12 #include "dmargs_int.c" |