Karsten Hopp 2367c9
To: vim_dev@googlegroups.com
Karsten Hopp 2367c9
Subject: Patch 7.3.662
Karsten Hopp 2367c9
Fcc: outbox
Karsten Hopp 2367c9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2367c9
Mime-Version: 1.0
Karsten Hopp 2367c9
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2367c9
Content-Transfer-Encoding: 8bit
Karsten Hopp 2367c9
------------
Karsten Hopp 2367c9
Karsten Hopp 2367c9
Patch 7.3.662
Karsten Hopp 2367c9
Problem:    Can't build Ruby interface with Ruby 1.9.3.
Karsten Hopp 2367c9
Solution:   Add missing functions. (V. Ondruch)
Karsten Hopp 2367c9
Files:	    src/if_ruby.c
Karsten Hopp 2367c9
Karsten Hopp 2367c9
Karsten Hopp 2367c9
*** ../vim-7.3.661/src/if_ruby.c	2012-04-25 12:28:05.000000000 +0200
Karsten Hopp 2367c9
--- src/if_ruby.c	2012-09-18 16:31:45.000000000 +0200
Karsten Hopp 2367c9
***************
Karsten Hopp 2367c9
*** 178,183 ****
Karsten Hopp 2367c9
--- 178,186 ----
Karsten Hopp 2367c9
  #define rb_hash_new			dll_rb_hash_new
Karsten Hopp 2367c9
  #define rb_inspect			dll_rb_inspect
Karsten Hopp 2367c9
  #define rb_int2inum			dll_rb_int2inum
Karsten Hopp 2367c9
+ #define rb_fix2int			dll_rb_fix2int
Karsten Hopp 2367c9
+ #define rb_num2int			dll_rb_num2int
Karsten Hopp 2367c9
+ #define rb_num2uint			dll_rb_num2uint
Karsten Hopp 2367c9
  #define rb_lastline_get			dll_rb_lastline_get
Karsten Hopp 2367c9
  #define rb_lastline_set			dll_rb_lastline_set
Karsten Hopp 2367c9
  #define rb_load_protect			dll_rb_load_protect
Karsten Hopp 2367c9
***************
Karsten Hopp 2367c9
*** 268,274 ****
Karsten Hopp 2367c9
  static VALUE (*dll_rb_hash_new) (void);
Karsten Hopp 2367c9
  static VALUE (*dll_rb_inspect) (VALUE);
Karsten Hopp 2367c9
  static VALUE (*dll_rb_int2inum) (long);
Karsten Hopp 2367c9
! static VALUE (*dll_rb_int2inum) (long);
Karsten Hopp 2367c9
  static VALUE (*dll_rb_lastline_get) (void);
Karsten Hopp 2367c9
  static void (*dll_rb_lastline_set) (VALUE);
Karsten Hopp 2367c9
  static void (*dll_rb_load_protect) (VALUE, int, int*);
Karsten Hopp 2367c9
--- 271,279 ----
Karsten Hopp 2367c9
  static VALUE (*dll_rb_hash_new) (void);
Karsten Hopp 2367c9
  static VALUE (*dll_rb_inspect) (VALUE);
Karsten Hopp 2367c9
  static VALUE (*dll_rb_int2inum) (long);
Karsten Hopp 2367c9
! static long (*dll_rb_fix2int) (VALUE);
Karsten Hopp 2367c9
! static long (*dll_rb_num2int) (VALUE);
Karsten Hopp 2367c9
! static unsigned long (*dll_rb_num2uint) (VALUE);
Karsten Hopp 2367c9
  static VALUE (*dll_rb_lastline_get) (void);
Karsten Hopp 2367c9
  static void (*dll_rb_lastline_set) (VALUE);
Karsten Hopp 2367c9
  static void (*dll_rb_load_protect) (VALUE, int, int*);
Karsten Hopp 2367c9
***************
Karsten Hopp 2367c9
*** 377,382 ****
Karsten Hopp 2367c9
--- 382,390 ----
Karsten Hopp 2367c9
      {"rb_hash_new", (RUBY_PROC*)&dll_rb_hash_new},
Karsten Hopp 2367c9
      {"rb_inspect", (RUBY_PROC*)&dll_rb_inspect},
Karsten Hopp 2367c9
      {"rb_int2inum", (RUBY_PROC*)&dll_rb_int2inum},
Karsten Hopp 2367c9
+     {"rb_fix2int", (RUBY_PROC*)&dll_rb_fix2int},
Karsten Hopp 2367c9
+     {"rb_num2int", (RUBY_PROC*)&dll_rb_num2int},
Karsten Hopp 2367c9
+     {"rb_num2uint", (RUBY_PROC*)&dll_rb_num2uint},
Karsten Hopp 2367c9
      {"rb_lastline_get", (RUBY_PROC*)&dll_rb_lastline_get},
Karsten Hopp 2367c9
      {"rb_lastline_set", (RUBY_PROC*)&dll_rb_lastline_set},
Karsten Hopp 2367c9
      {"rb_load_protect", (RUBY_PROC*)&dll_rb_load_protect},
Karsten Hopp 2367c9
*** ../vim-7.3.661/src/version.c	2012-09-12 20:21:38.000000000 +0200
Karsten Hopp 2367c9
--- src/version.c	2012-09-18 16:35:53.000000000 +0200
Karsten Hopp 2367c9
***************
Karsten Hopp 2367c9
*** 721,722 ****
Karsten Hopp 2367c9
--- 721,724 ----
Karsten Hopp 2367c9
  {   /* Add new patch number below this line */
Karsten Hopp 2367c9
+ /**/
Karsten Hopp 2367c9
+     662,
Karsten Hopp 2367c9
  /**/
Karsten Hopp 2367c9
Karsten Hopp 2367c9
-- 
Karsten Hopp 2367c9
FATHER: We are here today to witness the union of two young people in the
Karsten Hopp 2367c9
        joyful bond of the holy wedlock.  Unfortunately, one of them, my son
Karsten Hopp 2367c9
        Herbert, has just fallen to his death.
Karsten Hopp 2367c9
   [Murmurs from CROWD;  the BRIDE smiles with relief, coughs.]
Karsten Hopp 2367c9
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 2367c9
Karsten Hopp 2367c9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2367c9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2367c9
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2367c9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///