Skip to content
Newer
Older
100644 51 lines (41 sloc) 979 Bytes
fedf489 2000-05-01
matz authored
1 /**********************************************************************
3db12e8 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
9df466b Updated Copyrights of Matz to 2003.
michal authored
9 Copyright (C) 1993-2003 Yukihiro Matsumoto
fedf489 2000-05-01
matz authored
10
11 **********************************************************************/
3db12e8 Initial revision
matz authored
12
47084e1 @nobu * Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
nobu authored
13 #undef RUBY_EXPORT
2b59258 @nobu * include/ruby: moved public headers.
nobu authored
14 #include "ruby/ruby.h"
3db12e8 Initial revision
matz authored
15
65a5162 1.4.0
matz authored
16 #if defined(__MACOS__) && defined(__MWERKS__)
17 #include <console.h>
18 #endif
19
9a46002 matz
matz authored
20 /* to link startup code with ObjC support */
6212cfb * gc.c (Init_stack): stack region is far smaller than usual if
matz authored
21 #if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
a3e1b1c @ko1 * Merge YARV
ko1 authored
22 static void
23 objcdummyfunction(void)
24 {
25 objc_msgSend();
26 }
9a46002 matz
matz authored
27 #endif
28
3db12e8 Initial revision
matz authored
29 int
dda5dc0 * array.c: moved to ANSI function style from K&R function style.
ocean authored
30 main(int argc, char **argv, char **envp)
3db12e8 Initial revision
matz authored
31 {
dea470c @akr debug environment variable refined.
akr authored
32 #ifdef RUBY_DEBUG_ENV
eae8a91 @nobu * debug.c (ruby_set_debug_option): separated from main.c.
nobu authored
33 extern void ruby_set_debug_option(const char *);
34 ruby_set_debug_option(getenv("RUBY_DEBUG"));
4d467a0 * ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
matz authored
35 #endif
b19e36a * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,
uema2 authored
36 #ifdef _WIN32
3db12e8 Initial revision
matz authored
37 NtInitialize(&argc, &argv);
38 #endif
65a5162 1.4.0
matz authored
39 #if defined(__MACOS__) && defined(__MWERKS__)
40 argc = ccommand(&argv);
41 #endif
3db12e8 Initial revision
matz authored
42
f59bd22 @akr * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't
akr authored
43 {
205f310 @nobu * call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
nobu authored
44 RUBY_INIT_STACK;
45 ruby_init();
46 ruby_options(argc, argv);
47 ruby_run();
f59bd22 @akr * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't
akr authored
48 }
210367e This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
49 return 0;
3db12e8 Initial revision
matz authored
50 }
Something went wrong with that request. Please try again.