]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-187 v7.2.187
authorBram Moolenaar <Bram@vim.org>
Sat, 23 May 2009 12:28:15 +0000 (12:28 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 23 May 2009 12:28:15 +0000 (12:28 +0000)
src/if_tcl.c
src/version.c

index 0f4daed0ae622b3bf87831767178781a22af053c..6ec48cc05309be8685b2c801f417171060dee217 100644 (file)
@@ -161,7 +161,7 @@ typedef int HANDLE;
 # endif
 
 /*
- * Declare HANDLE for perl.dll and function pointers.
+ * Declare HANDLE for tcl.dll and function pointers.
  */
 static HANDLE hTclLib = NULL;
 Tcl_Interp* (*dll_Tcl_CreateInterp)();
@@ -182,7 +182,7 @@ static struct {
  * Make all runtime-links of tcl.
  *
  * 1. Get module handle using LoadLibraryEx.
- * 2. Get pointer to perl function by GetProcAddress.
+ * 2. Get pointer to tcl function by GetProcAddress.
  * 3. Repeat 2, until get all functions will be used.
  *
  * Parameter 'libname' provides name of DLL.
@@ -1670,23 +1670,31 @@ channel_gethandle(instance, direction, handleptr)
 
 static Tcl_ChannelType channel_type =
 {
-    "vimmessage",
-    NULL,   /* blockmode */
-    channel_close,
-    channel_input,
-    channel_output,
-    NULL,   /* seek */
-    NULL,   /* set option */
-    NULL,   /* get option */
-    channel_watch,
-    channel_gethandle,
-    NULL,
-    NULL,
-    NULL,
-    NULL,
-    NULL,
-    NULL,
-    NULL
+    "vimmessage",      /* typeName */
+    NULL,              /* version */
+    channel_close,     /* closeProc */
+    channel_input,     /* inputProc */
+    channel_output,    /* outputProc */
+    NULL,              /* seekProc */
+    NULL,              /* setOptionProc */
+    NULL,              /* getOptionProc */
+    channel_watch,     /* watchProc */
+    channel_gethandle, /* getHandleProc */
+    NULL,              /* close2Proc */
+    NULL,              /* blockModeProc */
+#ifdef TCL_CHANNEL_VERSION_2
+    NULL,              /* flushProc */
+    NULL,              /* handlerProc */
+#endif
+#ifdef TCL_CHANNEL_VERSION_3
+    NULL,              /* wideSeekProc */
+#endif
+#ifdef TCL_CHANNEL_VERSION_4
+    NULL,              /* threadActionProc */
+#endif
+#ifdef TCL_CHANNEL_VERSION_5
+    NULL               /* truncateProc */
+#endif
 };
 
 /**********************************
index 5a75d03cba56d6cf29a623092ed03c7d0d4bd570..b82c10c5567491bcca4ca70b15e4ac5e575c792c 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    187,
 /**/
     186,
 /**/