11 #ifndef __UT_MAIN_H_INCLUDED__
12 #define __UT_MAIN_H_INCLUDED__
33 #define UT_MAIN(THE_MAIN) \
34 int wmain(int w_argc, wchar_t *w_argv[]) \
37 UTmainConvertArgs(args, w_argc, w_argv); \
38 UT_Exit::exitWithSpecificCode( \
39 THE_MAIN(args.getArgc(), \
40 const_cast<char**>(args.getArgv())) \
51 UTmainConvertArgs(
UT_WorkArgs &
args,
int w_argc,
const wchar_t *
const w_argv[])
53 for (
int i = 0; i < w_argc; ++i)
62 #define UT_MAIN(THE_MAIN) \
63 int main(int argc, char *argv[]) \
65 UT_Exit::exitWithSpecificCode(THE_MAIN(argc, argv)); \
71 #endif // __UT_MAIN_H_INCLUDED__
static SYS_FORCE_INLINE UT_WorkBuffer narrow(const utf16 *str)
void appendArg(const char *text)
**If you just want to fire and args