2000-05-01 05:42:38 -04:00
|
|
|
/**********************************************************************
|
1998-01-16 07:13:05 -05:00
|
|
|
|
|
|
|
main.c -
|
|
|
|
|
|
|
|
$Author$
|
|
|
|
$Date$
|
|
|
|
created at: Fri Aug 19 13:19:58 JST 1994
|
|
|
|
|
2000-05-01 05:42:38 -04:00
|
|
|
Copyright (C) 1993-2000 Yukihiro Matsumoto
|
|
|
|
|
|
|
|
**********************************************************************/
|
1998-01-16 07:13:05 -05:00
|
|
|
|
|
|
|
#include "ruby.h"
|
|
|
|
|
|
|
|
#ifdef DJGPP
|
1999-08-13 01:45:20 -04:00
|
|
|
unsigned int _stklen = 0x180000;
|
1998-01-16 07:13:05 -05:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __human68k__
|
2000-01-04 23:41:21 -05:00
|
|
|
int _stacksize = 262144;
|
1998-01-16 07:13:05 -05:00
|
|
|
#endif
|
|
|
|
|
1999-08-13 01:45:20 -04:00
|
|
|
#if defined(__MACOS__) && defined(__MWERKS__)
|
|
|
|
#include <console.h>
|
|
|
|
#endif
|
|
|
|
|
1998-01-16 07:13:05 -05:00
|
|
|
int
|
|
|
|
main(argc, argv, envp)
|
|
|
|
int argc;
|
|
|
|
char **argv, **envp;
|
|
|
|
{
|
|
|
|
#if defined(NT)
|
|
|
|
NtInitialize(&argc, &argv);
|
|
|
|
#endif
|
1999-08-13 01:45:20 -04:00
|
|
|
#if defined(__MACOS__) && defined(__MWERKS__)
|
|
|
|
argc = ccommand(&argv);
|
|
|
|
#endif
|
1998-01-16 07:13:05 -05:00
|
|
|
|
|
|
|
ruby_init();
|
|
|
|
ruby_options(argc, argv);
|
|
|
|
ruby_run();
|
1999-01-19 23:59:39 -05:00
|
|
|
return 0;
|
1998-01-16 07:13:05 -05:00
|
|
|
}
|