qse/ase/include/ase/utl/main.h

34 lines
501 B
C
Raw Normal View History

/*
2008-06-27 00:44:41 +00:00
* $Id: main.h 223 2008-06-26 06:44:41Z baconevi $
2008-03-18 04:27:02 +00:00
*
* {License}
*/
#ifndef _ASE_UTL_MAIN_H_
#define _ASE_UTL_MAIN_H_
2008-06-27 00:44:41 +00:00
#include <ase/types.h>
#include <ase/macros.h>
#if defined(_WIN32)
#include <tchar.h>
#define ase_main _tmain
typedef ase_char_t ase_achar_t;
#else
#define ase_main main
typedef ase_mchar_t ase_achar_t;
#endif
#ifdef __cplusplus
extern "C" {
#endif
int ase_runmain (int argc, ase_achar_t* argv[], int(*mf) (int,ase_char_t*[]));
#ifdef __cplusplus
}
#endif
#endif