changeset 9293:946b62bbd871 v7.4.1929

commit https://github.com/vim/vim/commit/2016ae586b12513d973aabc30ed758b543114cbe Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 13 20:08:43 2016 +0200 patch 7.4.1929 Problem: Inconsistent indenting and weird name. Solution: Fix indent, make name all upper case. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Jun 2016 20:15:07 +0200
parents 9af389ecf145
children a081c9c021a6
files src/if_ruby.c src/version.c
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1929,
+/**/
     1928,
 /**/
     1927,