Karsten Hopp 1fa1a7
To: vim_dev@googlegroups.com
Karsten Hopp 1fa1a7
Subject: Patch 7.3.1206
Karsten Hopp 1fa1a7
Fcc: outbox
Karsten Hopp 1fa1a7
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 1fa1a7
Mime-Version: 1.0
Karsten Hopp 1fa1a7
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 1fa1a7
Content-Transfer-Encoding: 8bit
Karsten Hopp 1fa1a7
------------
Karsten Hopp 1fa1a7
Karsten Hopp 1fa1a7
Patch 7.3.1206
Karsten Hopp 1fa1a7
Problem:    Inconsistent function argument declarations.
Karsten Hopp 1fa1a7
Solution:   Use ANSI style.
Karsten Hopp 1fa1a7
Files:	    src/if_py_both.h
Karsten Hopp 1fa1a7
Karsten Hopp 1fa1a7
Karsten Hopp 1fa1a7
*** ../vim-7.3.1205/src/if_py_both.h	2013-06-16 14:18:20.000000000 +0200
Karsten Hopp 1fa1a7
--- src/if_py_both.h	2013-06-16 14:24:51.000000000 +0200
Karsten Hopp 1fa1a7
***************
Karsten Hopp 1fa1a7
*** 1278,1284 ****
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static dict_T *
Karsten Hopp 1fa1a7
! py_dict_alloc()
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      dict_T	*r;
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
--- 1278,1284 ----
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static dict_T *
Karsten Hopp 1fa1a7
! py_dict_alloc(void)
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      dict_T	*r;
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
***************
Karsten Hopp 1fa1a7
*** 1545,1551 ****
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static PyInt
Karsten Hopp 1fa1a7
! DictionaryAssItem(DictionaryObject *self, PyObject *keyObject, PyObject *valObject)
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      char_u	*key;
Karsten Hopp 1fa1a7
      typval_T	tv;
Karsten Hopp 1fa1a7
--- 1545,1552 ----
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static PyInt
Karsten Hopp 1fa1a7
! DictionaryAssItem(
Karsten Hopp 1fa1a7
! 	DictionaryObject *self, PyObject *keyObject, PyObject *valObject)
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      char_u	*key;
Karsten Hopp 1fa1a7
      typval_T	tv;
Karsten Hopp 1fa1a7
***************
Karsten Hopp 1fa1a7
*** 2669,2679 ****
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static int
Karsten Hopp 1fa1a7
! set_option_value_err(key, numval, stringval, opt_flags)
Karsten Hopp 1fa1a7
!     char_u	*key;
Karsten Hopp 1fa1a7
!     int		numval;
Karsten Hopp 1fa1a7
!     char_u	*stringval;
Karsten Hopp 1fa1a7
!     int		opt_flags;
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      char_u	*errmsg;
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
--- 2670,2676 ----
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static int
Karsten Hopp 1fa1a7
! set_option_value_err(char_u *key, int numval, char_u *stringval, int opt_flags)
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      char_u	*errmsg;
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
***************
Karsten Hopp 1fa1a7
*** 2688,2700 ****
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static int
Karsten Hopp 1fa1a7
! set_option_value_for(key, numval, stringval, opt_flags, opt_type, from)
Karsten Hopp 1fa1a7
!     char_u	*key;
Karsten Hopp 1fa1a7
!     int		numval;
Karsten Hopp 1fa1a7
!     char_u	*stringval;
Karsten Hopp 1fa1a7
!     int		opt_flags;
Karsten Hopp 1fa1a7
!     int		opt_type;
Karsten Hopp 1fa1a7
!     void	*from;
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      win_T	*save_curwin = NULL;
Karsten Hopp 1fa1a7
      tabpage_T	*save_curtab = NULL;
Karsten Hopp 1fa1a7
--- 2685,2697 ----
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static int
Karsten Hopp 1fa1a7
! set_option_value_for(
Karsten Hopp 1fa1a7
! 	char_u *key,
Karsten Hopp 1fa1a7
! 	int numval,
Karsten Hopp 1fa1a7
! 	char_u *stringval,
Karsten Hopp 1fa1a7
! 	int opt_flags,
Karsten Hopp 1fa1a7
! 	int opt_type,
Karsten Hopp 1fa1a7
! 	void *from)
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      win_T	*save_curwin = NULL;
Karsten Hopp 1fa1a7
      tabpage_T	*save_curtab = NULL;
Karsten Hopp 1fa1a7
***************
Karsten Hopp 1fa1a7
*** 5619,5625 ****
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static int
Karsten Hopp 1fa1a7
! init_sys_path()
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      PyObject	*path;
Karsten Hopp 1fa1a7
      PyObject	*path_hook;
Karsten Hopp 1fa1a7
--- 5616,5622 ----
Karsten Hopp 1fa1a7
  }
Karsten Hopp 1fa1a7
  
Karsten Hopp 1fa1a7
      static int
Karsten Hopp 1fa1a7
! init_sys_path(void)
Karsten Hopp 1fa1a7
  {
Karsten Hopp 1fa1a7
      PyObject	*path;
Karsten Hopp 1fa1a7
      PyObject	*path_hook;
Karsten Hopp 1fa1a7
*** ../vim-7.3.1205/src/version.c	2013-06-16 14:20:10.000000000 +0200
Karsten Hopp 1fa1a7
--- src/version.c	2013-06-16 14:25:11.000000000 +0200
Karsten Hopp 1fa1a7
***************
Karsten Hopp 1fa1a7
*** 730,731 ****
Karsten Hopp 1fa1a7
--- 730,733 ----
Karsten Hopp 1fa1a7
  {   /* Add new patch number below this line */
Karsten Hopp 1fa1a7
+ /**/
Karsten Hopp 1fa1a7
+     1206,
Karsten Hopp 1fa1a7
  /**/
Karsten Hopp 1fa1a7
Karsten Hopp 1fa1a7
-- 
Karsten Hopp 1fa1a7
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 1fa1a7
226. You sit down at the computer right after dinner and your spouse
Karsten Hopp 1fa1a7
     says "See you in the morning."
Karsten Hopp 1fa1a7
Karsten Hopp 1fa1a7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 1fa1a7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 1fa1a7
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 1fa1a7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///