patch 7.4.1929 v7.4.1929
authorBram Moolenaar <Bram@vim.org>
Mon, 13 Jun 2016 18:08:43 +0000 (20:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 13 Jun 2016 18:08:43 +0000 (20:08 +0200)
Problem:    Inconsistent indenting and weird name.
Solution:   Fix indent, make name all upper case. (Ken Takata)

src/if_ruby.c
src/version.c

index 7e49906b6a636bc1fa67db0eeb9477a501e6eaa5..f0c441ada5c4f130c56f0d90c4aa39049612d2f8 100644 (file)
@@ -31,8 +31,8 @@
 # define RUBYEXTERN extern
 #endif
 
-# if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 24
- # define USE_RUBY_Integer
+#if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 24
+# define USE_RUBY_INTEGER
 #endif
 
 #ifdef DYNAMIC_RUBY
@@ -43,8 +43,8 @@
  */
 # define rb_cFalseClass                (*dll_rb_cFalseClass)
 # define rb_cFixnum            (*dll_rb_cFixnum)
-# if defined(USE_RUBY_Integer)
-# define rb_cInteger    (*dll_rb_cInteger)
+# if defined(USE_RUBY_INTEGER)
+#  define rb_cInteger          (*dll_rb_cInteger)
 # endif
 # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
 #  define rb_cFloat            (*dll_rb_cFloat)
@@ -325,7 +325,7 @@ static void ruby_vim_init(void);
 static VALUE (*dll_rb_assoc_new) (VALUE, VALUE);
 VALUE *dll_rb_cFalseClass;
 VALUE *dll_rb_cFixnum;
-# if defined(USE_RUBY_Integer)
+# if defined(USE_RUBY_INTEGER)
 VALUE *dll_rb_cInteger;
 # endif
 # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
@@ -515,7 +515,7 @@ static struct
     {"rb_assoc_new", (RUBY_PROC*)&dll_rb_assoc_new},
     {"rb_cFalseClass", (RUBY_PROC*)&dll_rb_cFalseClass},
     {"rb_cFixnum", (RUBY_PROC*)&dll_rb_cFixnum},
-# if defined(USE_RUBY_Integer)
+# if defined(USE_RUBY_INTEGER)
     {"rb_cInteger", (RUBY_PROC*)&dll_rb_cInteger},
 # endif
 # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20
index 516e5ff9618ea1b1845b9015d127ecb559bcbff7..de67ab2a509f2a135027aea3aedca9cc40d2eb34 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1929,
 /**/
     1928,
 /**/