ruby64.c

Go to the documentation of this file.
00001 /**********************************************************************
00002 
00003   main.c -
00004 
00005   $Author: shyouhei $
00006   $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
00007   created at: Fri Aug 19 13:19:58 JST 1994
00008 
00009   Copyright (C) 1993-2003 Yukihiro Matsumoto
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 /* to link startup code with ObjC support */
00028 /* don't core about ObjC support (rdm)
00029 #if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
00030 static void objcdummyfunction( void ) { objc_msgSend(); }
00031 #endif
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 }

Generated on Tue Jul 5 14:10:17 2011 for ROOT_528-00b_version by  doxygen 1.5.1