Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
957:b66653c9acb3 | 958:985225a93aeb |
---|---|
2 #define TH_EXTERNAL 1 | 2 #define TH_EXTERNAL 1 |
3 #define th_optarg_t DMOptArg | 3 #define th_optarg_t DMOptArg |
4 #define th_args_process dmArgsProcess | 4 #define th_args_process dmArgsProcess |
5 #define th_args_help dmArgsPrintHelp | 5 #define th_args_help dmArgsPrintHelp |
6 | 6 |
7 #define THERR dmError | 7 #define THERR dmErrorMsg |
8 #define th_calloc dmCalloc | 8 #define th_calloc dmCalloc |
9 #define th_malloc dmMalloc | 9 #define th_malloc dmMalloc |
10 #define th_free dmFree | 10 #define th_free dmFree |
11 | 11 |
12 #include "dmargs_int.c" | 12 #include "dmargs_int.c" |