|
Karsten Hopp |
4b44f7 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
4b44f7 |
Subject: Patch 7.3.936
|
|
Karsten Hopp |
4b44f7 |
Fcc: outbox
|
|
Karsten Hopp |
4b44f7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
4b44f7 |
Mime-Version: 1.0
|
|
Karsten Hopp |
4b44f7 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
4b44f7 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
4b44f7 |
------------
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
Patch 7.3.936 (after 7.3.935)
|
|
Karsten Hopp |
4b44f7 |
Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems.
|
|
Karsten Hopp |
4b44f7 |
Solution: Define ruby_init_stack() (Hiroshi Shirosaki)
|
|
Karsten Hopp |
4b44f7 |
Also fix preprocessor indents.
|
|
Karsten Hopp |
4b44f7 |
Files: src/if_ruby.c
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
*** ../vim-7.3.935/src/if_ruby.c 2013-05-11 17:45:45.000000000 +0200
|
|
Karsten Hopp |
4b44f7 |
--- src/if_ruby.c 2013-05-12 00:09:18.000000000 +0200
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 158,265 ****
|
|
Karsten Hopp |
4b44f7 |
static void ruby_io_init(void);
|
|
Karsten Hopp |
4b44f7 |
static void ruby_vim_init(void);
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY) || defined(PROTO)
|
|
Karsten Hopp |
4b44f7 |
! #ifdef PROTO
|
|
Karsten Hopp |
4b44f7 |
! # define HINSTANCE int /* for generating prototypes */
|
|
Karsten Hopp |
4b44f7 |
#endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
/*
|
|
Karsten Hopp |
4b44f7 |
* Wrapper defines
|
|
Karsten Hopp |
4b44f7 |
*/
|
|
Karsten Hopp |
4b44f7 |
! #define rb_assoc_new dll_rb_assoc_new
|
|
Karsten Hopp |
4b44f7 |
! #define rb_cObject (*dll_rb_cObject)
|
|
Karsten Hopp |
4b44f7 |
! #define rb_check_type dll_rb_check_type
|
|
Karsten Hopp |
4b44f7 |
! #define rb_class_path dll_rb_class_path
|
|
Karsten Hopp |
4b44f7 |
! #define rb_data_object_alloc dll_rb_data_object_alloc
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_class_under dll_rb_define_class_under
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_const dll_rb_define_const
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_global_function dll_rb_define_global_function
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_method dll_rb_define_method
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_module dll_rb_define_module
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_module_function dll_rb_define_module_function
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_singleton_method dll_rb_define_singleton_method
|
|
Karsten Hopp |
4b44f7 |
! #define rb_define_virtual_variable dll_rb_define_virtual_variable
|
|
Karsten Hopp |
4b44f7 |
! #define rb_stdout (*dll_rb_stdout)
|
|
Karsten Hopp |
4b44f7 |
! #define rb_eArgError (*dll_rb_eArgError)
|
|
Karsten Hopp |
4b44f7 |
! #define rb_eIndexError (*dll_rb_eIndexError)
|
|
Karsten Hopp |
4b44f7 |
! #define rb_eRuntimeError (*dll_rb_eRuntimeError)
|
|
Karsten Hopp |
4b44f7 |
! #define rb_eStandardError (*dll_rb_eStandardError)
|
|
Karsten Hopp |
4b44f7 |
! #define rb_eval_string_protect dll_rb_eval_string_protect
|
|
Karsten Hopp |
4b44f7 |
! #define rb_global_variable dll_rb_global_variable
|
|
Karsten Hopp |
4b44f7 |
! #define rb_hash_aset dll_rb_hash_aset
|
|
Karsten Hopp |
4b44f7 |
! #define rb_hash_new dll_rb_hash_new
|
|
Karsten Hopp |
4b44f7 |
! #define rb_inspect dll_rb_inspect
|
|
Karsten Hopp |
4b44f7 |
! #define rb_int2inum dll_rb_int2inum
|
|
Karsten Hopp |
4b44f7 |
! #if SIZEOF_INT < SIZEOF_LONG /* 64 bits only */
|
|
Karsten Hopp |
4b44f7 |
! #define rb_fix2int dll_rb_fix2int
|
|
Karsten Hopp |
4b44f7 |
! #define rb_num2int dll_rb_num2int
|
|
Karsten Hopp |
4b44f7 |
! #define rb_num2uint dll_rb_num2uint
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #define rb_lastline_get dll_rb_lastline_get
|
|
Karsten Hopp |
4b44f7 |
! #define rb_lastline_set dll_rb_lastline_set
|
|
Karsten Hopp |
4b44f7 |
! #define rb_load_protect dll_rb_load_protect
|
|
Karsten Hopp |
4b44f7 |
! #ifndef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
! #define rb_num2long dll_rb_num2long
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER <= 19
|
|
Karsten Hopp |
4b44f7 |
! #define rb_num2ulong dll_rb_num2ulong
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #define rb_obj_alloc dll_rb_obj_alloc
|
|
Karsten Hopp |
4b44f7 |
! #define rb_obj_as_string dll_rb_obj_as_string
|
|
Karsten Hopp |
4b44f7 |
! #define rb_obj_id dll_rb_obj_id
|
|
Karsten Hopp |
4b44f7 |
! #define rb_raise dll_rb_raise
|
|
Karsten Hopp |
4b44f7 |
! #define rb_str_cat dll_rb_str_cat
|
|
Karsten Hopp |
4b44f7 |
! #define rb_str_concat dll_rb_str_concat
|
|
Karsten Hopp |
4b44f7 |
! #define rb_str_new dll_rb_str_new
|
|
Karsten Hopp |
4b44f7 |
! #ifdef rb_str_new2
|
|
Karsten Hopp |
4b44f7 |
/* Ruby may #define rb_str_new2 to use rb_str_new_cstr. */
|
|
Karsten Hopp |
4b44f7 |
! # define need_rb_str_new_cstr 1
|
|
Karsten Hopp |
4b44f7 |
/* Ruby's headers #define rb_str_new_cstr to make use of GCC's
|
|
Karsten Hopp |
4b44f7 |
* __builtin_constant_p extension. */
|
|
Karsten Hopp |
4b44f7 |
! # undef rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_new_cstr dll_rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_new2 dll_rb_str_new2
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
! # define rb_string_value dll_rb_string_value
|
|
Karsten Hopp |
4b44f7 |
! # define rb_string_value_ptr dll_rb_string_value_ptr
|
|
Karsten Hopp |
4b44f7 |
! # define rb_float_new dll_rb_float_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_ary_new dll_rb_ary_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_ary_push dll_rb_ary_push
|
|
Karsten Hopp |
4b44f7 |
! # ifdef __ia64
|
|
Karsten Hopp |
4b44f7 |
! # define rb_ia64_bsp dll_rb_ia64_bsp
|
|
Karsten Hopp |
4b44f7 |
! # undef ruby_init_stack
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init_stack(addr) dll_ruby_init_stack((addr), rb_ia64_bsp())
|
|
Karsten Hopp |
4b44f7 |
# else
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init_stack dll_ruby_init_stack
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
- #else
|
|
Karsten Hopp |
4b44f7 |
- # define rb_str2cstr dll_rb_str2cstr
|
|
Karsten Hopp |
4b44f7 |
- #endif
|
|
Karsten Hopp |
4b44f7 |
- #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
- # define rb_errinfo dll_rb_errinfo
|
|
Karsten Hopp |
4b44f7 |
- #else
|
|
Karsten Hopp |
4b44f7 |
- # define ruby_errinfo (*dll_ruby_errinfo)
|
|
Karsten Hopp |
4b44f7 |
- #endif
|
|
Karsten Hopp |
4b44f7 |
- #define ruby_init dll_ruby_init
|
|
Karsten Hopp |
4b44f7 |
- #define ruby_init_loadpath dll_ruby_init_loadpath
|
|
Karsten Hopp |
4b44f7 |
- #ifdef WIN3264
|
|
Karsten Hopp |
4b44f7 |
- # define NtInitialize dll_NtInitialize
|
|
Karsten Hopp |
4b44f7 |
# if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
! # define rb_w32_snprintf dll_rb_w32_snprintf
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
- #endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_script dll_ruby_script
|
|
Karsten Hopp |
4b44f7 |
! # define rb_enc_find_index dll_rb_enc_find_index
|
|
Karsten Hopp |
4b44f7 |
! # define rb_enc_find dll_rb_enc_find
|
|
Karsten Hopp |
4b44f7 |
! # define rb_enc_str_new dll_rb_enc_str_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_sprintf dll_rb_sprintf
|
|
Karsten Hopp |
4b44f7 |
! # define rb_require dll_rb_require
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_process_options dll_ruby_process_options
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
/*
|
|
Karsten Hopp |
4b44f7 |
* Pointers for dynamic link
|
|
Karsten Hopp |
4b44f7 |
--- 158,269 ----
|
|
Karsten Hopp |
4b44f7 |
static void ruby_io_init(void);
|
|
Karsten Hopp |
4b44f7 |
static void ruby_vim_init(void);
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! #if defined(__ia64) && !defined(ruby_init_stack)
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init_stack(addr) ruby_init_stack((addr), rb_ia64_bsp())
|
|
Karsten Hopp |
4b44f7 |
#endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
+ #if defined(DYNAMIC_RUBY) || defined(PROTO)
|
|
Karsten Hopp |
4b44f7 |
+ # ifdef PROTO
|
|
Karsten Hopp |
4b44f7 |
+ # define HINSTANCE int /* for generating prototypes */
|
|
Karsten Hopp |
4b44f7 |
+ # endif
|
|
Karsten Hopp |
4b44f7 |
+
|
|
Karsten Hopp |
4b44f7 |
/*
|
|
Karsten Hopp |
4b44f7 |
* Wrapper defines
|
|
Karsten Hopp |
4b44f7 |
*/
|
|
Karsten Hopp |
4b44f7 |
! # define rb_assoc_new dll_rb_assoc_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_cObject (*dll_rb_cObject)
|
|
Karsten Hopp |
4b44f7 |
! # define rb_check_type dll_rb_check_type
|
|
Karsten Hopp |
4b44f7 |
! # define rb_class_path dll_rb_class_path
|
|
Karsten Hopp |
4b44f7 |
! # define rb_data_object_alloc dll_rb_data_object_alloc
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_class_under dll_rb_define_class_under
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_const dll_rb_define_const
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_global_function dll_rb_define_global_function
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_method dll_rb_define_method
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_module dll_rb_define_module
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_module_function dll_rb_define_module_function
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_singleton_method dll_rb_define_singleton_method
|
|
Karsten Hopp |
4b44f7 |
! # define rb_define_virtual_variable dll_rb_define_virtual_variable
|
|
Karsten Hopp |
4b44f7 |
! # define rb_stdout (*dll_rb_stdout)
|
|
Karsten Hopp |
4b44f7 |
! # define rb_eArgError (*dll_rb_eArgError)
|
|
Karsten Hopp |
4b44f7 |
! # define rb_eIndexError (*dll_rb_eIndexError)
|
|
Karsten Hopp |
4b44f7 |
! # define rb_eRuntimeError (*dll_rb_eRuntimeError)
|
|
Karsten Hopp |
4b44f7 |
! # define rb_eStandardError (*dll_rb_eStandardError)
|
|
Karsten Hopp |
4b44f7 |
! # define rb_eval_string_protect dll_rb_eval_string_protect
|
|
Karsten Hopp |
4b44f7 |
! # define rb_global_variable dll_rb_global_variable
|
|
Karsten Hopp |
4b44f7 |
! # define rb_hash_aset dll_rb_hash_aset
|
|
Karsten Hopp |
4b44f7 |
! # define rb_hash_new dll_rb_hash_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_inspect dll_rb_inspect
|
|
Karsten Hopp |
4b44f7 |
! # define rb_int2inum dll_rb_int2inum
|
|
Karsten Hopp |
4b44f7 |
! # if SIZEOF_INT < SIZEOF_LONG /* 64 bits only */
|
|
Karsten Hopp |
4b44f7 |
! # define rb_fix2int dll_rb_fix2int
|
|
Karsten Hopp |
4b44f7 |
! # define rb_num2int dll_rb_num2int
|
|
Karsten Hopp |
4b44f7 |
! # define rb_num2uint dll_rb_num2uint
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # define rb_lastline_get dll_rb_lastline_get
|
|
Karsten Hopp |
4b44f7 |
! # define rb_lastline_set dll_rb_lastline_set
|
|
Karsten Hopp |
4b44f7 |
! # define rb_load_protect dll_rb_load_protect
|
|
Karsten Hopp |
4b44f7 |
! # ifndef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
! # define rb_num2long dll_rb_num2long
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER <= 19
|
|
Karsten Hopp |
4b44f7 |
! # define rb_num2ulong dll_rb_num2ulong
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # define rb_obj_alloc dll_rb_obj_alloc
|
|
Karsten Hopp |
4b44f7 |
! # define rb_obj_as_string dll_rb_obj_as_string
|
|
Karsten Hopp |
4b44f7 |
! # define rb_obj_id dll_rb_obj_id
|
|
Karsten Hopp |
4b44f7 |
! # define rb_raise dll_rb_raise
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_cat dll_rb_str_cat
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_concat dll_rb_str_concat
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_new dll_rb_str_new
|
|
Karsten Hopp |
4b44f7 |
! # ifdef rb_str_new2
|
|
Karsten Hopp |
4b44f7 |
/* Ruby may #define rb_str_new2 to use rb_str_new_cstr. */
|
|
Karsten Hopp |
4b44f7 |
! # define need_rb_str_new_cstr 1
|
|
Karsten Hopp |
4b44f7 |
/* Ruby's headers #define rb_str_new_cstr to make use of GCC's
|
|
Karsten Hopp |
4b44f7 |
* __builtin_constant_p extension. */
|
|
Karsten Hopp |
4b44f7 |
! # undef rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_new_cstr dll_rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
# else
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str_new2 dll_rb_str_new2
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
# if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
! # define rb_string_value dll_rb_string_value
|
|
Karsten Hopp |
4b44f7 |
! # define rb_string_value_ptr dll_rb_string_value_ptr
|
|
Karsten Hopp |
4b44f7 |
! # define rb_float_new dll_rb_float_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_ary_new dll_rb_ary_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_ary_push dll_rb_ary_push
|
|
Karsten Hopp |
4b44f7 |
! # ifdef __ia64
|
|
Karsten Hopp |
4b44f7 |
! # define rb_ia64_bsp dll_rb_ia64_bsp
|
|
Karsten Hopp |
4b44f7 |
! # undef ruby_init_stack
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init_stack(addr) dll_ruby_init_stack((addr), rb_ia64_bsp())
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init_stack dll_ruby_init_stack
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
! # define rb_str2cstr dll_rb_str2cstr
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
! # define rb_errinfo dll_rb_errinfo
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_errinfo (*dll_ruby_errinfo)
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init dll_ruby_init
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_init_loadpath dll_ruby_init_loadpath
|
|
Karsten Hopp |
4b44f7 |
! # ifdef WIN3264
|
|
Karsten Hopp |
4b44f7 |
! # define NtInitialize dll_NtInitialize
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
! # define rb_w32_snprintf dll_rb_w32_snprintf
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_script dll_ruby_script
|
|
Karsten Hopp |
4b44f7 |
! # define rb_enc_find_index dll_rb_enc_find_index
|
|
Karsten Hopp |
4b44f7 |
! # define rb_enc_find dll_rb_enc_find
|
|
Karsten Hopp |
4b44f7 |
! # define rb_enc_str_new dll_rb_enc_str_new
|
|
Karsten Hopp |
4b44f7 |
! # define rb_sprintf dll_rb_sprintf
|
|
Karsten Hopp |
4b44f7 |
! # define rb_require dll_rb_require
|
|
Karsten Hopp |
4b44f7 |
! # define ruby_process_options dll_ruby_process_options
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
/*
|
|
Karsten Hopp |
4b44f7 |
* Pointers for dynamic link
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 267,275 ****
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_assoc_new) (VALUE, VALUE);
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cFalseClass;
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cFixnum;
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cFloat;
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cNilClass;
|
|
Karsten Hopp |
4b44f7 |
static VALUE *dll_rb_cObject;
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cSymbol;
|
|
Karsten Hopp |
4b44f7 |
--- 271,279 ----
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_assoc_new) (VALUE, VALUE);
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cFalseClass;
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cFixnum;
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cFloat;
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cNilClass;
|
|
Karsten Hopp |
4b44f7 |
static VALUE *dll_rb_cObject;
|
|
Karsten Hopp |
4b44f7 |
VALUE *dll_rb_cSymbol;
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 296,306 ****
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_hash_new) (void);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_inspect) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_int2inum) (long);
|
|
Karsten Hopp |
4b44f7 |
! #if SIZEOF_INT < SIZEOF_LONG /* 64 bits only */
|
|
Karsten Hopp |
4b44f7 |
static long (*dll_rb_fix2int) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static long (*dll_rb_num2int) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static unsigned long (*dll_rb_num2uint) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_lastline_get) (void);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_rb_lastline_set) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_rb_load_protect) (VALUE, int, int*);
|
|
Karsten Hopp |
4b44f7 |
--- 300,310 ----
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_hash_new) (void);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_inspect) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_int2inum) (long);
|
|
Karsten Hopp |
4b44f7 |
! # if SIZEOF_INT < SIZEOF_LONG /* 64 bits only */
|
|
Karsten Hopp |
4b44f7 |
static long (*dll_rb_fix2int) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static long (*dll_rb_num2int) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static unsigned long (*dll_rb_num2uint) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_lastline_get) (void);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_rb_lastline_set) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_rb_load_protect) (VALUE, int, int*);
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 310,359 ****
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_obj_as_string) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_obj_id) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_rb_raise) (VALUE, const char*, ...);
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_string_value) (volatile VALUE*);
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
static char *(*dll_rb_str2cstr) (VALUE,int*);
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_cat) (VALUE, const char*, long);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_concat) (VALUE, VALUE);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_new) (const char*, long);
|
|
Karsten Hopp |
4b44f7 |
! #ifdef need_rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
/* Ruby may #define rb_str_new2 to use rb_str_new_cstr. */
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_new_cstr) (const char*);
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_new2) (const char*);
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_errinfo) (void);
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
static VALUE *dll_ruby_errinfo;
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init) (void);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init_loadpath) (void);
|
|
Karsten Hopp |
4b44f7 |
! #ifdef WIN3264
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_NtInitialize) (int*, char***);
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
static int (*dll_rb_w32_snprintf)(char*, size_t, const char*, ...);
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
static char * (*dll_rb_string_value_ptr) (volatile VALUE*);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_float_new) (double);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_ary_new) (void);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_ary_push) (VALUE, VALUE);
|
|
Karsten Hopp |
4b44f7 |
! # ifdef __ia64
|
|
Karsten Hopp |
4b44f7 |
static void * (*dll_rb_ia64_bsp) (void);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init_stack)(VALUE*, void*);
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init_stack)(VALUE*);
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_script) (const char*);
|
|
Karsten Hopp |
4b44f7 |
static int (*dll_rb_enc_find_index) (const char*);
|
|
Karsten Hopp |
4b44f7 |
static rb_encoding* (*dll_rb_enc_find) (const char*);
|
|
Karsten Hopp |
4b44f7 |
--- 314,363 ----
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_obj_as_string) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_obj_id) (VALUE);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_rb_raise) (VALUE, const char*, ...);
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_string_value) (volatile VALUE*);
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
static char *(*dll_rb_str2cstr) (VALUE,int*);
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_cat) (VALUE, const char*, long);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_concat) (VALUE, VALUE);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_new) (const char*, long);
|
|
Karsten Hopp |
4b44f7 |
! # ifdef need_rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
/* Ruby may #define rb_str_new2 to use rb_str_new_cstr. */
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_new_cstr) (const char*);
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_str_new2) (const char*);
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_errinfo) (void);
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
static VALUE *dll_ruby_errinfo;
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init) (void);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init_loadpath) (void);
|
|
Karsten Hopp |
4b44f7 |
! # ifdef WIN3264
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_NtInitialize) (int*, char***);
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
static int (*dll_rb_w32_snprintf)(char*, size_t, const char*, ...);
|
|
Karsten Hopp |
4b44f7 |
+ # endif
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
static char * (*dll_rb_string_value_ptr) (volatile VALUE*);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_float_new) (double);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_ary_new) (void);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_ary_push) (VALUE, VALUE);
|
|
Karsten Hopp |
4b44f7 |
! # ifdef __ia64
|
|
Karsten Hopp |
4b44f7 |
static void * (*dll_rb_ia64_bsp) (void);
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init_stack)(VALUE*, void*);
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_init_stack)(VALUE*);
|
|
Karsten Hopp |
4b44f7 |
+ # endif
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
static void (*dll_ruby_script) (const char*);
|
|
Karsten Hopp |
4b44f7 |
static int (*dll_rb_enc_find_index) (const char*);
|
|
Karsten Hopp |
4b44f7 |
static rb_encoding* (*dll_rb_enc_find) (const char*);
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 361,369 ****
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_sprintf) (const char*, ...);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_require) (const char*);
|
|
Karsten Hopp |
4b44f7 |
static void* (*ruby_process_options)(int, char**);
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! #if defined(RUBY19_OR_LATER) && !defined(PROTO)
|
|
Karsten Hopp |
4b44f7 |
SIGNED_VALUE rb_num2long_stub(VALUE x)
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return dll_rb_num2long(x);
|
|
Karsten Hopp |
4b44f7 |
--- 365,373 ----
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_sprintf) (const char*, ...);
|
|
Karsten Hopp |
4b44f7 |
static VALUE (*dll_rb_require) (const char*);
|
|
Karsten Hopp |
4b44f7 |
static void* (*ruby_process_options)(int, char**);
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
! # if defined(RUBY19_OR_LATER) && !defined(PROTO)
|
|
Karsten Hopp |
4b44f7 |
SIGNED_VALUE rb_num2long_stub(VALUE x)
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return dll_rb_num2long(x);
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 372,378 ****
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return dll_rb_int2big(x);
|
|
Karsten Hopp |
4b44f7 |
}
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 \
|
|
Karsten Hopp |
4b44f7 |
&& SIZEOF_INT < SIZEOF_LONG
|
|
Karsten Hopp |
4b44f7 |
long rb_fix2int_stub(VALUE x)
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
--- 376,382 ----
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return dll_rb_int2big(x);
|
|
Karsten Hopp |
4b44f7 |
}
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 \
|
|
Karsten Hopp |
4b44f7 |
&& SIZEOF_INT < SIZEOF_LONG
|
|
Karsten Hopp |
4b44f7 |
long rb_fix2int_stub(VALUE x)
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 382,389 ****
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return dll_rb_num2int(x);
|
|
Karsten Hopp |
4b44f7 |
}
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
|
|
Karsten Hopp |
4b44f7 |
VALUE
|
|
Karsten Hopp |
4b44f7 |
rb_float_new_in_heap(double d)
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
--- 386,393 ----
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return dll_rb_num2int(x);
|
|
Karsten Hopp |
4b44f7 |
}
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
|
|
Karsten Hopp |
4b44f7 |
VALUE
|
|
Karsten Hopp |
4b44f7 |
rb_float_new_in_heap(double d)
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 393,400 ****
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return (long)RSHIFT((SIGNED_VALUE)(x),1);
|
|
Karsten Hopp |
4b44f7 |
}
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
static HINSTANCE hinstRuby = NULL; /* Instance of ruby.dll */
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
--- 397,404 ----
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
return (long)RSHIFT((SIGNED_VALUE)(x),1);
|
|
Karsten Hopp |
4b44f7 |
}
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
static HINSTANCE hinstRuby = NULL; /* Instance of ruby.dll */
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 410,418 ****
|
|
Karsten Hopp |
4b44f7 |
{"rb_assoc_new", (RUBY_PROC*)&dll_rb_assoc_new},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cFalseClass", (RUBY_PROC*)&dll_rb_cFalseClass},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cFixnum", (RUBY_PROC*)&dll_rb_cFixnum},
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
|
|
Karsten Hopp |
4b44f7 |
{"rb_cFloat", (RUBY_PROC*)&dll_rb_cFloat},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_cNilClass", (RUBY_PROC*)&dll_rb_cNilClass},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cObject", (RUBY_PROC*)&dll_rb_cObject},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cSymbol", (RUBY_PROC*)&dll_rb_cSymbol},
|
|
Karsten Hopp |
4b44f7 |
--- 414,422 ----
|
|
Karsten Hopp |
4b44f7 |
{"rb_assoc_new", (RUBY_PROC*)&dll_rb_assoc_new},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cFalseClass", (RUBY_PROC*)&dll_rb_cFalseClass},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cFixnum", (RUBY_PROC*)&dll_rb_cFixnum},
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
|
|
Karsten Hopp |
4b44f7 |
{"rb_cFloat", (RUBY_PROC*)&dll_rb_cFloat},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_cNilClass", (RUBY_PROC*)&dll_rb_cNilClass},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cObject", (RUBY_PROC*)&dll_rb_cObject},
|
|
Karsten Hopp |
4b44f7 |
{"rb_cSymbol", (RUBY_PROC*)&dll_rb_cSymbol},
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 439,449 ****
|
|
Karsten Hopp |
4b44f7 |
{"rb_hash_new", (RUBY_PROC*)&dll_rb_hash_new},
|
|
Karsten Hopp |
4b44f7 |
{"rb_inspect", (RUBY_PROC*)&dll_rb_inspect},
|
|
Karsten Hopp |
4b44f7 |
{"rb_int2inum", (RUBY_PROC*)&dll_rb_int2inum},
|
|
Karsten Hopp |
4b44f7 |
! #if SIZEOF_INT < SIZEOF_LONG /* 64 bits only */
|
|
Karsten Hopp |
4b44f7 |
{"rb_fix2int", (RUBY_PROC*)&dll_rb_fix2int},
|
|
Karsten Hopp |
4b44f7 |
{"rb_num2int", (RUBY_PROC*)&dll_rb_num2int},
|
|
Karsten Hopp |
4b44f7 |
{"rb_num2uint", (RUBY_PROC*)&dll_rb_num2uint},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_lastline_get", (RUBY_PROC*)&dll_rb_lastline_get},
|
|
Karsten Hopp |
4b44f7 |
{"rb_lastline_set", (RUBY_PROC*)&dll_rb_lastline_set},
|
|
Karsten Hopp |
4b44f7 |
{"rb_load_protect", (RUBY_PROC*)&dll_rb_load_protect},
|
|
Karsten Hopp |
4b44f7 |
--- 443,453 ----
|
|
Karsten Hopp |
4b44f7 |
{"rb_hash_new", (RUBY_PROC*)&dll_rb_hash_new},
|
|
Karsten Hopp |
4b44f7 |
{"rb_inspect", (RUBY_PROC*)&dll_rb_inspect},
|
|
Karsten Hopp |
4b44f7 |
{"rb_int2inum", (RUBY_PROC*)&dll_rb_int2inum},
|
|
Karsten Hopp |
4b44f7 |
! # if SIZEOF_INT < SIZEOF_LONG /* 64 bits only */
|
|
Karsten Hopp |
4b44f7 |
{"rb_fix2int", (RUBY_PROC*)&dll_rb_fix2int},
|
|
Karsten Hopp |
4b44f7 |
{"rb_num2int", (RUBY_PROC*)&dll_rb_num2int},
|
|
Karsten Hopp |
4b44f7 |
{"rb_num2uint", (RUBY_PROC*)&dll_rb_num2uint},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_lastline_get", (RUBY_PROC*)&dll_rb_lastline_get},
|
|
Karsten Hopp |
4b44f7 |
{"rb_lastline_set", (RUBY_PROC*)&dll_rb_lastline_set},
|
|
Karsten Hopp |
4b44f7 |
{"rb_load_protect", (RUBY_PROC*)&dll_rb_load_protect},
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 453,505 ****
|
|
Karsten Hopp |
4b44f7 |
{"rb_obj_as_string", (RUBY_PROC*)&dll_rb_obj_as_string},
|
|
Karsten Hopp |
4b44f7 |
{"rb_obj_id", (RUBY_PROC*)&dll_rb_obj_id},
|
|
Karsten Hopp |
4b44f7 |
{"rb_raise", (RUBY_PROC*)&dll_rb_raise},
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
{"rb_string_value", (RUBY_PROC*)&dll_rb_string_value},
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
{"rb_str2cstr", (RUBY_PROC*)&dll_rb_str2cstr},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_cat", (RUBY_PROC*)&dll_rb_str_cat},
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_concat", (RUBY_PROC*)&dll_rb_str_concat},
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_new", (RUBY_PROC*)&dll_rb_str_new},
|
|
Karsten Hopp |
4b44f7 |
! #ifdef need_rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_new_cstr", (RUBY_PROC*)&dll_rb_str_new_cstr},
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_new2", (RUBY_PROC*)&dll_rb_str_new2},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
{"rb_errinfo", (RUBY_PROC*)&dll_rb_errinfo},
|
|
Karsten Hopp |
4b44f7 |
! #else
|
|
Karsten Hopp |
4b44f7 |
{"ruby_errinfo", (RUBY_PROC*)&dll_ruby_errinfo},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
{"ruby_init", (RUBY_PROC*)&dll_ruby_init},
|
|
Karsten Hopp |
4b44f7 |
{"ruby_init_loadpath", (RUBY_PROC*)&dll_ruby_init_loadpath},
|
|
Karsten Hopp |
4b44f7 |
! #ifdef WIN3264
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER < 19
|
|
Karsten Hopp |
4b44f7 |
"NtInitialize",
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
"ruby_sysinit",
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
(RUBY_PROC*)&dll_NtInitialize},
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
{"rb_w32_snprintf", (RUBY_PROC*)&dll_rb_w32_snprintf},
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
{"rb_string_value_ptr", (RUBY_PROC*)&dll_rb_string_value_ptr},
|
|
Karsten Hopp |
4b44f7 |
! # ifdef __ia64
|
|
Karsten Hopp |
4b44f7 |
{"rb_ia64_bsp", (RUBY_PROC*)&dll_rb_ia64_bsp},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
|
|
Karsten Hopp |
4b44f7 |
! # if DYNAMIC_RUBY_VER <= 19
|
|
Karsten Hopp |
4b44f7 |
{"rb_float_new", (RUBY_PROC*)&dll_rb_float_new},
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
{"rb_float_new_in_heap", (RUBY_PROC*)&dll_rb_float_new},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_ary_new", (RUBY_PROC*)&dll_rb_ary_new},
|
|
Karsten Hopp |
4b44f7 |
{"rb_ary_push", (RUBY_PROC*)&dll_rb_ary_push},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
! #ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
{"rb_int2big", (RUBY_PROC*)&dll_rb_int2big},
|
|
Karsten Hopp |
4b44f7 |
{"ruby_script", (RUBY_PROC*)&dll_ruby_script},
|
|
Karsten Hopp |
4b44f7 |
{"rb_enc_find_index", (RUBY_PROC*)&dll_rb_enc_find_index},
|
|
Karsten Hopp |
4b44f7 |
--- 457,509 ----
|
|
Karsten Hopp |
4b44f7 |
{"rb_obj_as_string", (RUBY_PROC*)&dll_rb_obj_as_string},
|
|
Karsten Hopp |
4b44f7 |
{"rb_obj_id", (RUBY_PROC*)&dll_rb_obj_id},
|
|
Karsten Hopp |
4b44f7 |
{"rb_raise", (RUBY_PROC*)&dll_rb_raise},
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
{"rb_string_value", (RUBY_PROC*)&dll_rb_string_value},
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
{"rb_str2cstr", (RUBY_PROC*)&dll_rb_str2cstr},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_cat", (RUBY_PROC*)&dll_rb_str_cat},
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_concat", (RUBY_PROC*)&dll_rb_str_concat},
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_new", (RUBY_PROC*)&dll_rb_str_new},
|
|
Karsten Hopp |
4b44f7 |
! # ifdef need_rb_str_new_cstr
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_new_cstr", (RUBY_PROC*)&dll_rb_str_new_cstr},
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
{"rb_str_new2", (RUBY_PROC*)&dll_rb_str_new2},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
{"rb_errinfo", (RUBY_PROC*)&dll_rb_errinfo},
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
{"ruby_errinfo", (RUBY_PROC*)&dll_ruby_errinfo},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"ruby_init", (RUBY_PROC*)&dll_ruby_init},
|
|
Karsten Hopp |
4b44f7 |
{"ruby_init_loadpath", (RUBY_PROC*)&dll_ruby_init_loadpath},
|
|
Karsten Hopp |
4b44f7 |
! # ifdef WIN3264
|
|
Karsten Hopp |
4b44f7 |
{
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER < 19
|
|
Karsten Hopp |
4b44f7 |
"NtInitialize",
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
"ruby_sysinit",
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
(RUBY_PROC*)&dll_NtInitialize},
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
{"rb_w32_snprintf", (RUBY_PROC*)&dll_rb_w32_snprintf},
|
|
Karsten Hopp |
4b44f7 |
+ # endif
|
|
Karsten Hopp |
4b44f7 |
# endif
|
|
Karsten Hopp |
4b44f7 |
! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
4b44f7 |
{"rb_string_value_ptr", (RUBY_PROC*)&dll_rb_string_value_ptr},
|
|
Karsten Hopp |
4b44f7 |
! # ifdef __ia64
|
|
Karsten Hopp |
4b44f7 |
{"rb_ia64_bsp", (RUBY_PROC*)&dll_rb_ia64_bsp},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
|
|
Karsten Hopp |
4b44f7 |
! # if DYNAMIC_RUBY_VER <= 19
|
|
Karsten Hopp |
4b44f7 |
{"rb_float_new", (RUBY_PROC*)&dll_rb_float_new},
|
|
Karsten Hopp |
4b44f7 |
! # else
|
|
Karsten Hopp |
4b44f7 |
{"rb_float_new_in_heap", (RUBY_PROC*)&dll_rb_float_new},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"rb_ary_new", (RUBY_PROC*)&dll_rb_ary_new},
|
|
Karsten Hopp |
4b44f7 |
{"rb_ary_push", (RUBY_PROC*)&dll_rb_ary_push},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
! # ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
4b44f7 |
{"rb_int2big", (RUBY_PROC*)&dll_rb_int2big},
|
|
Karsten Hopp |
4b44f7 |
{"ruby_script", (RUBY_PROC*)&dll_ruby_script},
|
|
Karsten Hopp |
4b44f7 |
{"rb_enc_find_index", (RUBY_PROC*)&dll_rb_enc_find_index},
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 508,514 ****
|
|
Karsten Hopp |
4b44f7 |
{"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf},
|
|
Karsten Hopp |
4b44f7 |
{"rb_require", (RUBY_PROC*)&dll_rb_require},
|
|
Karsten Hopp |
4b44f7 |
{"ruby_process_options", (RUBY_PROC*)&dll_ruby_process_options},
|
|
Karsten Hopp |
4b44f7 |
! #endif
|
|
Karsten Hopp |
4b44f7 |
{"", NULL},
|
|
Karsten Hopp |
4b44f7 |
};
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
--- 512,518 ----
|
|
Karsten Hopp |
4b44f7 |
{"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf},
|
|
Karsten Hopp |
4b44f7 |
{"rb_require", (RUBY_PROC*)&dll_rb_require},
|
|
Karsten Hopp |
4b44f7 |
{"ruby_process_options", (RUBY_PROC*)&dll_ruby_process_options},
|
|
Karsten Hopp |
4b44f7 |
! # endif
|
|
Karsten Hopp |
4b44f7 |
{"", NULL},
|
|
Karsten Hopp |
4b44f7 |
};
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
*** ../vim-7.3.935/src/version.c 2013-05-11 17:45:45.000000000 +0200
|
|
Karsten Hopp |
4b44f7 |
--- src/version.c 2013-05-12 14:09:22.000000000 +0200
|
|
Karsten Hopp |
4b44f7 |
***************
|
|
Karsten Hopp |
4b44f7 |
*** 730,731 ****
|
|
Karsten Hopp |
4b44f7 |
--- 730,733 ----
|
|
Karsten Hopp |
4b44f7 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
4b44f7 |
+ /**/
|
|
Karsten Hopp |
4b44f7 |
+ 936,
|
|
Karsten Hopp |
4b44f7 |
/**/
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
--
|
|
Karsten Hopp |
4b44f7 |
DEAD PERSON: I don't want to go in the cart!
|
|
Karsten Hopp |
4b44f7 |
CUSTOMER: Oh, don't be such a baby.
|
|
Karsten Hopp |
4b44f7 |
MORTICIAN: I can't take him...
|
|
Karsten Hopp |
4b44f7 |
DEAD PERSON: I feel fine!
|
|
Karsten Hopp |
4b44f7 |
CUSTOMER: Oh, do us a favor...
|
|
Karsten Hopp |
4b44f7 |
MORTICIAN: I can't.
|
|
Karsten Hopp |
4b44f7 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
4b44f7 |
|
|
Karsten Hopp |
4b44f7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
4b44f7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
4b44f7 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
4b44f7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|