UT.h File Reference

Go to the source code of this file.

Defines

#define EXTERN_C_BEGIN   extern "C" {
#define EXTERN_C_END   }
#define c_max_stack_buf   1024
#define c_small_string_buf   200
#define c_typical_input_line_buf   100
#define typeid   WINDOWS_typeid_IS_BROKEN_DO_NOT_USE

Functions

int main (int argc, char *argv[])

Detailed Description

Inclusion of this file makes available all of the basic services documented below, and in UTMisc.h, UTDebug.h, UTStatus.h, and UTErrorCodes.h.

Definition in file UT.h.


Define Documentation

#define EXTERN_C_BEGIN   extern "C" {

macro to begin a section of a header file which, when included from a C++ source file, is to be treated with C naming conventions

Definition at line 57 of file UT.h.

#define EXTERN_C_END   }

macro to end a section of a header file which, when included from a C++ source file, is to be treated with C naming conventions

Definition at line 61 of file UT.h.

#define c_max_stack_buf   1024

Max size for a stack buffer.

Definition at line 103 of file UT.h.

#define c_small_string_buf   200

Max size for a small string stack buffer.

Definition at line 106 of file UT.h.

#define c_typical_input_line_buf   100

Typical size for a text file input stack buffer.

Definition at line 109 of file UT.h.

#define typeid   WINDOWS_typeid_IS_BROKEN_DO_NOT_USE

Definition at line 172 of file UT.h.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

main is the entry point for all UT apps, but to facilitate UT's own main which needs to do some setup, the application's main function will actually use the app_main symbol. As for normal C or C++ code, the application's entry point should be defined as:

    int main( int argc, char* argv[] )
    

As long as the source file containing main includes UT.h, the application's version will be renamed to app_main and there will be no duplicate symbol.


Generated on Tue Dec 14 22:35:05 2010 for UT library by  doxygen 1.6.1