Skip to content
Newer
Older
100644 37 lines (28 sloc) 674 Bytes
fedf489 2000-05-01
matz authored May 1, 2000
1 /**********************************************************************
3db12e8 Initial revision
matz authored Jan 16, 1998
2
3 main.c -
4
5 $Author$
6 created at: Fri Aug 19 13:19:58 JST 1994
7
a25fbe3 * encoding.c: provide basic features for M17N.
matz authored Aug 25, 2007
8 Copyright (C) 1993-2007 Yukihiro Matsumoto
fedf489 2000-05-01
matz authored May 1, 2000
9
10 **********************************************************************/
3db12e8 Initial revision
matz authored Jan 16, 1998
11
47084e1 @nobu * Makefile.in (XCFLAGS): separated as well as win32/Makefile.sub.
nobu authored Dec 19, 2005
12 #undef RUBY_EXPORT
1a192e2 @nobu * include/ruby/mvm.h: new header file for MVM, and moved rb_vm_t and
nobu authored May 31, 2008
13 #include "ruby.h"
bef85fe @akr fix typo.
akr authored Dec 21, 2007
14 #ifdef HAVE_LOCALE_H
0530cf9 @akr * encoding.c: include locale.h
akr authored Dec 21, 2007
15 #include <locale.h>
f2515d9 @akr * configure.in: check langinfo.h and locale.h.
akr authored Dec 21, 2007
16 #endif
3db12e8 Initial revision
matz authored Jan 16, 1998
17
400202f @nobu * main.c (main): use platform-independent per-process initialization.
nobu authored Sep 29, 2007
18 RUBY_GLOBAL_SETUP
9a46002 matz
matz authored Oct 2, 2000
19
3db12e8 Initial revision
matz authored Jan 16, 1998
20 int
dda5dc0 * array.c: moved to ANSI function style from K&R function style.
ocean authored Sep 12, 2005
21 main(int argc, char **argv, char **envp)
3db12e8 Initial revision
matz authored Jan 16, 1998
22 {
dea470c @akr debug environment variable refined.
akr authored Jun 28, 2007
23 #ifdef RUBY_DEBUG_ENV
eae8a91 @nobu * debug.c (ruby_set_debug_option): separated from main.c.
nobu authored Jun 29, 2007
24 ruby_set_debug_option(getenv("RUBY_DEBUG"));
4d467a0 * ext/digest/digest.c (rb_digest_base_s_digest): add volatile to
matz authored Dec 12, 2005
25 #endif
bef85fe @akr fix typo.
akr authored Dec 21, 2007
26 #ifdef HAVE_LOCALE_H
0530cf9 @akr * encoding.c: include locale.h
akr authored Dec 21, 2007
27 setlocale(LC_CTYPE, "");
f2515d9 @akr * configure.in: check langinfo.h and locale.h.
akr authored Dec 21, 2007
28 #endif
3db12e8 Initial revision
matz authored Jan 16, 1998
29
400202f @nobu * main.c (main): use platform-independent per-process initialization.
nobu authored Sep 29, 2007
30 ruby_sysinit(&argc, &argv);
f59bd22 @akr * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't
akr authored Dec 27, 2005
31 {
205f310 @nobu * call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
nobu authored Feb 2, 2007
32 RUBY_INIT_STACK;
33 ruby_init();
46603a7 @nobu * include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
nobu authored Jul 5, 2007
34 return ruby_run_node(ruby_options(argc, argv));
f59bd22 @akr * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't
akr authored Dec 27, 2005
35 }
3db12e8 Initial revision
matz authored Jan 16, 1998
36 }
Something went wrong with that request. Please try again.