All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Main.h File Reference
#include <UT/UT_Exit.h>
+ Include dependency graph for UT_Main.h:

Go to the source code of this file.



Macro Definition Documentation

#define UT_MAIN (   THE_MAIN)
int main(int argc, char *argv[]) \
{ \
UT_Exit::exitWithSpecificCode(THE_MAIN(argc, argv)); \
} \
int main(int argc, char *argv[])
Definition: cvexsample.C:147
static SYS_FUNC_NORETURN void exitWithSpecificCode(int exit_code)

Provides platform independent main() wrapper for UTF-8 command line args

Example usage:

static inline int
int theMain(int argc, const char *argv[])

Definition at line 60 of file UT_Main.h.