Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (36 sloc) 0.804 kb
817a62d 2000-05-01
matz authored
1 /**********************************************************************
99d0354 Initial revision
matz authored
2
3 main.c -
4
5 $Author$
6 $Date$
7 created at: Fri Aug 19 13:19:58 JST 1994
8
817a62d 2000-05-01
matz authored
9 Copyright (C) 1993-2000 Yukihiro Matsumoto
10
11 **********************************************************************/
99d0354 Initial revision
matz authored
12
13 #include "ruby.h"
14
15 #ifdef DJGPP
07bb9f2 1.4.0
matz authored
16 unsigned int _stklen = 0x180000;
99d0354 Initial revision
matz authored
17 #endif
18
19 #ifdef __human68k__
56e60da 20000105
matz authored
20 int _stacksize = 262144;
99d0354 Initial revision
matz authored
21 #endif
22
27351b9 eban see ChangeLog.
eban authored
23 #if defined __MINGW32__
24 int _CRT_glob = 0;
25 #endif
26
07bb9f2 1.4.0
matz authored
27 #if defined(__MACOS__) && defined(__MWERKS__)
28 #include <console.h>
29 #endif
30
99d0354 Initial revision
matz authored
31 int
32 main(argc, argv, envp)
33 int argc;
34 char **argv, **envp;
35 {
36 #if defined(NT)
37 NtInitialize(&argc, &argv);
38 #endif
07bb9f2 1.4.0
matz authored
39 #if defined(__MACOS__) && defined(__MWERKS__)
40 argc = ccommand(&argv);
41 #endif
99d0354 Initial revision
matz authored
42
43 ruby_init();
44 ruby_options(argc, argv);
45 ruby_run();
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
46 return 0;
99d0354 Initial revision
matz authored
47 }
Something went wrong with that request. Please try again.