To: vim_dev@googlegroups.com Subject: Patch 7.4.1929 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1929 Problem: Inconsistent indenting and weird name. Solution: Fix indent, make name all upper case. (Ken Takata) Files: src/if_ruby.c *** ../vim-7.4.1928/src/if_ruby.c 2016-06-11 22:26:48.094557291 +0200 --- src/if_ruby.c 2016-06-13 20:06:29.024420896 +0200 *************** *** 31,38 **** # define RUBYEXTERN extern #endif ! # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 24 ! # define USE_RUBY_Integer #endif #ifdef DYNAMIC_RUBY --- 31,38 ---- # define RUBYEXTERN extern #endif ! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 24 ! # define USE_RUBY_INTEGER #endif #ifdef DYNAMIC_RUBY *************** *** 43,50 **** */ # define rb_cFalseClass (*dll_rb_cFalseClass) # define rb_cFixnum (*dll_rb_cFixnum) ! # 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) --- 43,50 ---- */ # define rb_cFalseClass (*dll_rb_cFalseClass) # define rb_cFixnum (*dll_rb_cFixnum) ! # 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,331 **** static VALUE (*dll_rb_assoc_new) (VALUE, VALUE); VALUE *dll_rb_cFalseClass; VALUE *dll_rb_cFixnum; ! # if defined(USE_RUBY_Integer) VALUE *dll_rb_cInteger; # endif # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 --- 325,331 ---- static VALUE (*dll_rb_assoc_new) (VALUE, VALUE); VALUE *dll_rb_cFalseClass; VALUE *dll_rb_cFixnum; ! # if defined(USE_RUBY_INTEGER) VALUE *dll_rb_cInteger; # endif # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 *************** *** 515,521 **** {"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) {"rb_cInteger", (RUBY_PROC*)&dll_rb_cInteger}, # endif # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 --- 515,521 ---- {"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) {"rb_cInteger", (RUBY_PROC*)&dll_rb_cInteger}, # endif # if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 *** ../vim-7.4.1928/src/version.c 2016-06-13 20:00:24.976283791 +0200 --- src/version.c 2016-06-13 20:07:20.483874730 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1929, /**/ -- From "know your smileys": :-X My lips are sealed /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///