00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #include "ruby.h"
00014
00015 #ifdef __human68k__
00016 int _stacksize = 262144;
00017 #endif
00018
00019 #if defined __MINGW32__
00020 int _CRT_glob = 0;
00021 #endif
00022
00023 #if defined(__MACOS__) && defined(__MWERKS__)
00024 #include <console.h>
00025 #endif
00026
00027
00028
00029
00030
00031
00032
00033
00034 int
00035 main(argc, argv, envp)
00036 int argc;
00037 char **argv, **envp;
00038 {
00039 #ifdef _WIN32
00040 NtInitialize(&argc, &argv);
00041 #endif
00042 #if defined(__MACOS__) && defined(__MWERKS__)
00043 argc = ccommand(&argv);
00044 #endif
00045
00046 {
00047 RUBY_INIT_STACK
00048 ruby_init();
00049 ruby_options(argc, argv);
00050 ruby_run();
00051 }
00052 return 0;
00053 }