summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
commitc236c16d0884c7d6cdc4dbaddb8cb3992085f83e (patch)
tree7d87344cdf07b6b9234abe26ccef39fbbee54f63 /src
parentb316376b4893ac3ae62f7f33c483b28b7fc147c0 (diff)
updated for version 7.2b-000v7.2b.000
Diffstat (limited to 'src')
-rw-r--r--src/GvimExt/GvimExt.reg4
-rw-r--r--src/INSTALL10
-rw-r--r--src/INSTALLpc.txt13
-rw-r--r--src/Make_mvc.mak9
-rw-r--r--src/Makefile6
-rwxr-xr-xsrc/auto/configure50
-rw-r--r--src/configure.in36
-rw-r--r--src/eval.c14
-rw-r--r--src/ex_cmds.c4
-rw-r--r--src/ex_cmds2.c2
-rw-r--r--src/ex_docmd.c4
-rw-r--r--src/gui.c20
-rw-r--r--src/gui_mac.c14
-rw-r--r--src/if_perl.xs68
-rw-r--r--src/if_python.c2
-rw-r--r--src/main.c2
-rw-r--r--src/mbyte.c15
-rw-r--r--src/memfile.c2
-rw-r--r--src/memline.c2
-rw-r--r--src/message.c2
-rw-r--r--src/move.c10
-rw-r--r--src/netbeans.c3
-rw-r--r--src/po/af.po14
-rw-r--r--src/po/ca.po22
-rw-r--r--src/po/cs.cp1250.po12
-rw-r--r--src/po/cs.po12
-rw-r--r--src/po/de.po20
-rw-r--r--src/po/eo.po115
-rw-r--r--src/po/es.po14
-rw-r--r--src/po/fi.po22
-rw-r--r--src/po/fr.po80
-rw-r--r--src/po/ga.po22
-rw-r--r--src/po/it.po50
-rw-r--r--src/po/ja.po22
-rw-r--r--src/po/ja.sjis.po22
-rw-r--r--src/po/ko.po14
-rw-r--r--src/po/no.po22
-rw-r--r--src/po/pl.UTF-8.po148
-rw-r--r--src/po/pl.cp1250.po148
-rw-r--r--src/po/pl.po148
-rw-r--r--src/po/ru.cp1251.po14
-rw-r--r--src/po/ru.po14
-rw-r--r--src/po/sk.cp1250.po20
-rw-r--r--src/po/sk.po20
-rw-r--r--src/po/sv.po22
-rw-r--r--src/po/uk.cp1251.po22
-rw-r--r--src/po/uk.po22
-rw-r--r--src/po/vi.po14
-rw-r--r--src/po/zh_CN.UTF-8.po20
-rw-r--r--src/po/zh_CN.cp936.po20
-rw-r--r--src/po/zh_CN.po20
-rw-r--r--src/po/zh_TW.UTF-8.po14
-rw-r--r--src/po/zh_TW.po14
-rw-r--r--src/popupmnu.c5
-rw-r--r--src/proto/mbyte.pro1
-rw-r--r--src/quickfix.c2
-rw-r--r--src/screen.c38
-rw-r--r--src/tag.c2
-rw-r--r--src/testdir/test30.in2
-rw-r--r--src/version.c38
-rw-r--r--src/version.h16
-rw-r--r--src/vim.def2
-rw-r--r--src/vim.h2
-rw-r--r--src/vim16.def2
64 files changed, 992 insertions, 553 deletions
diff --git a/src/GvimExt/GvimExt.reg b/src/GvimExt/GvimExt.reg
index 02b1747741..7b7480eae8 100644
--- a/src/GvimExt/GvimExt.reg
+++ b/src/GvimExt/GvimExt.reg
@@ -15,6 +15,6 @@ REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Vim\Gvim]
"path"="gvim.exe"
-[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2a]
- "DisplayName"="Vim 7.2a: Edit with Vim popup menu entry"
+[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2b]
+ "DisplayName"="Vim 7.2b: Edit with Vim popup menu entry"
"UninstallString"="uninstal.exe"
diff --git a/src/INSTALL b/src/INSTALL
index 210d773a94..a4a9925296 100644
--- a/src/INSTALL
+++ b/src/INSTALL
@@ -163,6 +163,16 @@ Add the "-posix" argument to the compiler by using one of these commands:
export CC='cc -posix' (sh)
And run configure with "--disable-motif-check".
+Unix: LOCAL HEADERS AND LIBRARIES NOT IN /usr/local
+
+Sometimes it is necessary to search different path than /usr/local for locally
+installed headers (/usr/local/include) and libraries (/usr/local/lib).
+To search /stranger/include and /stranger/lib for locally installed
+headers and libraries, use:
+ ./configure --with-local-dir=/stranger
+And to not search for locally installed headers and libraries at all, use:
+ ./configure --without-local-dir
+
3. RISC OS
=============
diff --git a/src/INSTALLpc.txt b/src/INSTALLpc.txt
index a2ee9545fe..755ea3b50c 100644
--- a/src/INSTALLpc.txt
+++ b/src/INSTALLpc.txt
@@ -27,7 +27,9 @@ Contents:
8. Windows 3.1
9. MS-DOS
-The currently preferred method is using the free Visual C++ Toolkit 2003.
+The currently preferred method is using the free Visual C++ Toolkit 2008
+|msvc-2008-express|. If you need the executable to run on Windows 98 or ME,
+use the 2003 one |msvc-2003-toolkit|.
1. Microsoft Visual C++
@@ -71,11 +73,16 @@ These files have been supplied by George V. Reilly, Ben Singer, Ken Scott and
Ron Aaron; they have been tested.
-Visual C++ Toolkit 2003
+Visual C++ Toolkit 2003 *msvc-2003-toolkit*
-----------------------
-You can download the Microsoft Visual C++ Toolkit 2003 from
+You could download the Microsoft Visual C++ Toolkit 2003 from
http://msdn.microsoft.com/visualc/vctoolkit2003/
+Unfortunately this URL is no longer valid. Inofficial downloads appear to be
+available from links mentioned on these pages (use at your own risk):
+ http://www.filewatcher.com/m/VCToolkitSetup.exe.32952488.0.0.html
+ http://feargame.net/wiki/index.php?title=Building_Source_with_the_VC2003_Toolkit
+
This contains the command-line tools (compiler, linker, CRT headers,
and libraries) for Visual Studio .NET 2003, but not the Visual Studio IDE.
To compile and debug Vim with the VC2003 Toolkit, you will also need
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index 18fd327b81..c2567d7c37 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -193,10 +193,6 @@ CPU = i386
CPU = i386
!endif # !PROCESSOR_ARCHITECTURE
-!if ("$(CPU)" == "AMD64") || ("$(CPU)" == "IA64")
-DEFINES=$(DEFINES) /Wp64
-!endif
-
# Build a retail version by default
!if "$(DEBUG)" != "yes"
@@ -211,6 +207,11 @@ MAKEFLAGS_GVIMEXT = DEBUG=yes
!include <Win32.mak>
+# Turn on Win64 compatibility warnings for 32-bit compiler in VC8. (/Wp64 is
+# deprecated in VC9.)
+!if ("$(MSVCVER)" == "8.0")
+DEFINES=$(DEFINES) /Wp64
+!endif
#>>>>> path of the compiler and linker; name of include and lib directories
# PATH = c:\msvc20\bin;$(PATH)
diff --git a/src/Makefile b/src/Makefile
index cca2eef9f8..69f091b937 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -310,6 +310,8 @@ CClink = $(CC)
#CONF_ARGS = --exec-prefix=/usr
#CONF_ARGS = --with-vim-name=vim7 --with-ex-name=ex7 --with-view-name=view7
#CONF_ARGS = --with-global-runtime=/etc/vim
+#CONF_ARGS = --with-local-dir=/usr/share
+#CONF_ARGS = --without-local-dir
# Use this one if you distribute a modified version of Vim.
#CONF_ARGS = --with-modified-by="John Doe"
@@ -899,7 +901,7 @@ MAN1DIR = /man1
### Vim version (adjusted by a script)
VIMMAJOR = 7
-VIMMINOR = 2a
+VIMMINOR = 2b
### Location of Vim files (should not need to be changed, and {{{1
### some things might not work when they are changed!)
@@ -1742,7 +1744,7 @@ test check:
-if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
fi
- -if test $(VIMTARGET) != vim -a ! -e vim; then \
+ -if test $(VIMTARGET) != vim -a ! -r vim; then \
ln -s $(VIMTARGET) vim; \
fi
cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
diff --git a/src/auto/configure b/src/auto/configure
index cc9016381e..ba65612ba6 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -772,6 +772,7 @@ ac_user_opts='
enable_option_checking
enable_darwin
with_mac_arch
+with_local_dir
with_vim_name
with_ex_name
with_view_name
@@ -1488,6 +1489,8 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-mac-arch=ARCH current, intel, ppc or both
+ --with-local-dir=PATH search PATH instead of /usr/local for local libraries.
+ --without-local-dir do not search /usr/local for local libraries.
--with-vim-name=NAME what to call the Vim executable
--with-ex-name=NAME what to call the Ex executable
--with-view-name=NAME what to call the View executable
@@ -4176,24 +4179,53 @@ fi
if test "$cross_compiling" = no; then
+ { $as_echo "$as_me:$LINENO: checking --with-local-dir argument" >&5
+$as_echo_n "checking --with-local-dir argument... " >&6; }
have_local_include=''
have_local_lib=''
- if test "$GCC" = yes; then
+
+# Check whether --with-local-dir was given.
+if test "${with_local_dir+set}" = set; then
+ withval=$with_local_dir;
+ local_dir="$withval"
+ case "$withval" in
+ */*) ;;
+ no)
+ # avoid adding local dir to LDFLAGS and CPPFLAGS
+ have_local_dir=yes
+ have_local_lib=yes
+ ;;
+ *) { { $as_echo "$as_me:$LINENO: error: must pass path argument to --with-local-dir" >&5
+$as_echo "$as_me: error: must pass path argument to --with-local-dir" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
+ { $as_echo "$as_me:$LINENO: result: $local_dir" >&5
+$as_echo "$local_dir" >&6; }
+
+else
+
+ local_dir=/usr/local
+ { $as_echo "$as_me:$LINENO: result: Defaulting to $local_dir" >&5
+$as_echo "Defaulting to $local_dir" >&6; }
+
+fi
+
+ if test "$GCC" = yes -a "$local_dir" != no; then
echo 'void f(){}' > conftest.c
- have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
- have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
+ have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
+ have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
rm -f conftest.c conftest.o
fi
- if test -z "$have_local_lib" -a -d /usr/local/lib; then
- tt=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
+ if test -z "$have_local_lib" -a -d "${local_dir}/lib"; then
+ tt=`echo "$LDFLAGS" | sed -e "s+-L${local_dir}/lib ++g" -e "s+-L${local_dir}/lib$++g"`
if test "$tt" = "$LDFLAGS"; then
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ LDFLAGS="$LDFLAGS -L${local_dir}/lib"
fi
fi
- if test -z "$have_local_include" -a -d /usr/local/include; then
- tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
+ if test -z "$have_local_include" -a -d "${local_dir}/include"; then
+ tt=`echo "$CPPFLAGS" | sed -e "s+-I${local_dir}/include ++g" -e "s+-I${local_dir}/include$++g"`
if test "$tt" = "$CPPFLAGS"; then
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ CPPFLAGS="$CPPFLAGS -I${local_dir}/include"
fi
fi
fi
diff --git a/src/configure.in b/src/configure.in
index 35dce7f2be..7c65fab62d 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -192,25 +192,43 @@ dnl Only when the directory exists and it wasn't there yet.
dnl For gcc don't do this when it is already in the default search path.
dnl Skip all of this when cross-compiling.
if test "$cross_compiling" = no; then
+ AC_MSG_CHECKING(--with-local-dir argument)
have_local_include=''
have_local_lib=''
- if test "$GCC" = yes; then
+ AC_ARG_WITH([local-dir], [ --with-local-dir=PATH search PATH instead of /usr/local for local libraries.
+ --without-local-dir do not search /usr/local for local libraries.], [
+ local_dir="$withval"
+ case "$withval" in
+ */*) ;;
+ no)
+ # avoid adding local dir to LDFLAGS and CPPFLAGS
+ have_local_dir=yes
+ have_local_lib=yes
+ ;;
+ *) AC_MSG_ERROR(must pass path argument to --with-local-dir) ;;
+ esac
+ AC_MSG_RESULT($local_dir)
+ ], [
+ local_dir=/usr/local
+ AC_MSG_RESULT(Defaulting to $local_dir)
+ ])
+ if test "$GCC" = yes -a "$local_dir" != no; then
echo 'void f(){}' > conftest.c
dnl -no-cpp-precomp is needed for OS X 10.2 (Ben Fowler)
- have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
- have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
+ have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
+ have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
rm -f conftest.c conftest.o
fi
- if test -z "$have_local_lib" -a -d /usr/local/lib; then
- tt=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
+ if test -z "$have_local_lib" -a -d "${local_dir}/lib"; then
+ tt=`echo "$LDFLAGS" | sed -e "s+-L${local_dir}/lib ++g" -e "s+-L${local_dir}/lib$++g"`
if test "$tt" = "$LDFLAGS"; then
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ LDFLAGS="$LDFLAGS -L${local_dir}/lib"
fi
fi
- if test -z "$have_local_include" -a -d /usr/local/include; then
- tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
+ if test -z "$have_local_include" -a -d "${local_dir}/include"; then
+ tt=`echo "$CPPFLAGS" | sed -e "s+-I${local_dir}/include ++g" -e "s+-I${local_dir}/include$++g"`
if test "$tt" = "$CPPFLAGS"; then
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ CPPFLAGS="$CPPFLAGS -I${local_dir}/include"
fi
fi
fi
diff --git a/src/eval.c b/src/eval.c
index 7ebaa08f12..18c8329df9 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -10,7 +10,7 @@
/*
* eval.c: Expression evaluation.
*/
-#if defined(MSDOS) || defined(MSWIN)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
# include "vimio.h" /* for mch_open(), must be before vim.h */
#endif
@@ -9697,15 +9697,19 @@ f_filereadable(argvars, rettv)
typval_T *argvars;
typval_T *rettv;
{
- FILE *fd;
+ int fd;
char_u *p;
int n;
+#ifndef O_NONBLOCK
+# define O_NONBLOCK 0
+#endif
p = get_tv_string(&argvars[0]);
- if (*p && !mch_isdir(p) && (fd = mch_fopen((char *)p, "r")) != NULL)
+ if (*p && !mch_isdir(p) && (fd = mch_open((char *)p,
+ O_RDONLY | O_NONBLOCK, 0)) >= 0)
{
n = TRUE;
- fclose(fd);
+ close(fd);
}
else
n = FALSE;
@@ -21975,7 +21979,7 @@ shortpath_for_invalid_fname(fname, bufp, fnamelen)
ch = *endp;
*endp = 0;
short_fname = save_fname;
- len = STRLEN(short_fname) + 1;
+ len = (int)STRLEN(short_fname) + 1;
if (get_short_pathname(&short_fname, &pbuf_unused, &len) == FAIL)
{
retval = FAIL;
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 6425ac0434..760533d7a4 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -11,7 +11,7 @@
* ex_cmds.c: some functions for command line commands
*/
-#if defined(MSDOS) || defined(MSWIN)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
# include "vimio.h" /* for mch_open(), must be before vim.h */
#endif
@@ -5892,7 +5892,7 @@ find_help_tags(arg, num_matches, matches, keep_lang)
flags = TAG_HELP | TAG_REGEXP | TAG_NAMES | TAG_VERBOSE;
if (keep_lang)
flags |= TAG_KEEP_LANG;
- if (find_tags(IObuff, num_matches, matches, flags, (int)MAXCOL, NULL) == OK
+ if (find_tags(IObuff, num_matches, matches, flags, TAG_MANY, NULL) == OK
&& *num_matches > 0)
/* Sort the matches found on the heuristic number that is after the
* tag name. */
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 582613e122..f86e6ee6ab 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -11,7 +11,7 @@
* ex_cmds2.c: some more functions for command line commands
*/
-#if defined(WIN32) && defined(FEAT_CSCOPE)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
# include "vimio.h" /* for mch_open(), must be before vim.h */
#endif
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 83cffc1fc4..246c4c0b2c 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -6728,6 +6728,10 @@ handle_drop(filec, filev, split)
if (curbuf_locked())
return;
#endif
+ /* When the screen is being updated we should not change buffers and
+ * windows structures, it may cause freed memory to be used. */
+ if (updating_screen)
+ return;
/* Check whether the current buffer is changed. If so, we will need
* to split the current window or data could be lost.
diff --git a/src/gui.c b/src/gui.c
index 09c3027cb1..8568d33ab4 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -958,7 +958,13 @@ gui_update_cursor(force, clear_selection)
static int iid;
guicolor_T fg, bg;
- if (im_get_status())
+ if (
+# ifdef HAVE_GTK2
+ preedit_get_status()
+# else
+ im_get_status()
+# endif
+ )
{
iid = syn_name2id((char_u *)"CursorIM");
if (iid > 0)
@@ -5124,6 +5130,16 @@ gui_handle_drop(x, y, modifiers, fnames, count)
{
int i;
char_u *p;
+ static int entered = FALSE;
+
+ /*
+ * This function is called by event handlers. Just in case we get a
+ * second event before the first one is handled, ignore the second one.
+ * Not sure if this can ever happen, just in case.
+ */
+ if (entered)
+ return;
+ entered = TRUE;
/*
* When the cursor is at the command line, add the file names to the
@@ -5207,5 +5223,7 @@ gui_handle_drop(x, y, modifiers, fnames, count)
gui_update_cursor(FALSE, FALSE);
gui_mch_flush();
}
+
+ entered = FALSE;
}
#endif
diff --git a/src/gui_mac.c b/src/gui_mac.c
index 1ef5820539..77cd5cad2b 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -2543,7 +2543,6 @@ gui_mac_doMouseUpEvent(EventRecord *theEvent)
gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
void *data)
{
- EventRef bogusEvent;
Point point;
Rect bounds;
UInt32 mod;
@@ -2574,16 +2573,6 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
if (mod & optionKey)
vim_mod |= MOUSE_ALT;
- /* post a bogus event to wake up WaitNextEvent */
- if (noErr != CreateEvent(NULL, kEventClassMouse, kEventMouseMoved, 0,
- kEventAttributeNone, &bogusEvent))
- goto bail;
- if (noErr != PostEventToQueue(GetMainEventQueue(), bogusEvent,
- kEventPriorityLow))
- goto bail;
-
- ReleaseEvent(bogusEvent);
-
if (noErr == GetWindowBounds(gui.VimWindow, kWindowContentRgn, &bounds))
{
point.h -= bounds.left;
@@ -2593,6 +2582,9 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
gui_send_mouse_event((delta > 0) ? MOUSE_4 : MOUSE_5,
point.h, point.v, FALSE, vim_mod);
+ /* post a bogus event to wake up WaitNextEvent */
+ PostEvent(keyUp, 0);
+
return noErr;
bail:
diff --git a/src/if_perl.xs b/src/if_perl.xs
index acf7f86d8f..a6994f694e 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -163,6 +163,23 @@ EXTERN_C void boot_DynaLoader __ARGS((pTHX_ CV*));
# define Perl_Isv_yes_ptr dll_Perl_Isv_yes_ptr
# define boot_DynaLoader dll_boot_DynaLoader
+# define Perl_sys_init3 dll_Perl_sys_init3
+# define Perl_sys_term dll_Perl_sys_term
+# define Perl_ISv_ptr dll_Perl_ISv_ptr
+# define Perl_Istack_max_ptr dll_Perl_Istack_max_ptr
+# define Perl_Istack_base_ptr dll_Perl_Istack_base_ptr
+# define Perl_Itmps_ix_ptr dll_Perl_Itmps_ix_ptr
+# define Perl_Itmps_floor_ptr dll_Perl_Itmps_floor_ptr
+# define Perl_IXpv_ptr dll_Perl_IXpv_ptr
+# define Perl_Ina_ptr dll_Perl_Ina_ptr
+# define Perl_Imarkstack_ptr_ptr dll_Perl_Imarkstack_ptr_ptr
+# define Perl_Imarkstack_max_ptr dll_Perl_Imarkstack_max_ptr
+# define Perl_Istack_sp_ptr dll_Perl_Istack_sp_ptr
+# define Perl_Iop_ptr dll_Perl_Iop_ptr
+# define Perl_call_list dll_Perl_call_list
+# define Perl_Iscopestack_ix_ptr dll_Perl_Iscopestack_ix_ptr
+# define Perl_Iunitcheckav_ptr dll_Perl_Iunitcheckav_ptr
+
#ifndef DYNAMIC_PERL /* just generating prototypes */
typedef int HANDLE;
typedef int XSINIT_t;
@@ -250,6 +267,24 @@ static GV** (*Perl_Ierrgv_ptr)(register PerlInterpreter*);
static SV* (*Perl_Isv_yes_ptr)(register PerlInterpreter*);
static void (*boot_DynaLoader)_((pTHX_ CV*));
+#if (PERL_REVISION == 5) && (PERL_VERSION >= 10)
+static void (*Perl_sys_init3)(int* argc, char*** argv, char*** env);
+static void (*Perl_sys_term)(void);
+static SV** (*Perl_ISv_ptr)(register PerlInterpreter*);
+static SV*** (*Perl_Istack_max_ptr)(register PerlInterpreter*);
+static SV*** (*Perl_Istack_base_ptr)(register PerlInterpreter*);
+static XPV** (*Perl_IXpv_ptr)(register PerlInterpreter*);
+static I32* (*Perl_Itmps_ix_ptr)(register PerlInterpreter*);
+static I32* (*Perl_Itmps_floor_ptr)(register PerlInterpreter*);
+static STRLEN* (*Perl_Ina_ptr)(register PerlInterpreter*);
+static I32** (*Perl_Imarkstack_ptr_ptr)(register PerlInterpreter*);
+static I32** (*Perl_Imarkstack_max_ptr)(register PerlInterpreter*);
+static SV*** (*Perl_Istack_sp_ptr)(register PerlInterpreter*);
+static OP** (*Perl_Iop_ptr)(register PerlInterpreter*);
+static void (*Perl_call_list)(pTHX_ I32, AV*);
+static I32* (*Perl_Iscopestack_ix_ptr)(register PerlInterpreter*);
+static AV** (*Perl_Iunitcheckav_ptr)(register PerlInterpreter*);
+#endif
/*
* Table of name to function pointer of perl.
@@ -319,6 +354,7 @@ static struct {
{"Perl_sv_setsv", (PERL_PROC*)&Perl_sv_setsv},
#endif
{"Perl_sv_upgrade", (PERL_PROC*)&Perl_sv_upgrade},
+#if (PERL_REVISION == 5) && (PERL_VERSION < 10)
{"Perl_Tstack_sp_ptr", (PERL_PROC*)&Perl_Tstack_sp_ptr},
{"Perl_Top_ptr", (PERL_PROC*)&Perl_Top_ptr},
{"Perl_Tstack_base_ptr", (PERL_PROC*)&Perl_Tstack_base_ptr},
@@ -330,6 +366,25 @@ static struct {
{"Perl_TSv_ptr", (PERL_PROC*)&Perl_TSv_ptr},
{"Perl_TXpv_ptr", (PERL_PROC*)&Perl_TXpv_ptr},
{"Perl_Tna_ptr", (PERL_PROC*)&Perl_Tna_ptr},
+#else
+ {"Perl_sys_init3", (PERL_PROC*)&Perl_sys_init3},
+ {"Perl_sys_term", (PERL_PROC*)&Perl_sys_term},
+ {"Perl_ISv_ptr", (PERL_PROC*)&Perl_ISv_ptr},
+ {"Perl_Istack_sp_ptr", (PERL_PROC*)&Perl_Istack_sp_ptr},
+ {"Perl_Iop_ptr", (PERL_PROC*)&Perl_Iop_ptr},
+ {"Perl_Istack_base_ptr", (PERL_PROC*)&Perl_Istack_base_ptr},
+ {"Perl_Istack_max_ptr", (PERL_PROC*)&Perl_Istack_max_ptr},
+ {"Perl_Itmps_ix_ptr", (PERL_PROC*)&Perl_Itmps_ix_ptr},
+ {"Perl_Itmps_floor_ptr", (PERL_PROC*)&Perl_Itmps_floor_ptr},
+ {"Perl_Imarkstack_ptr_ptr", (PERL_PROC*)&Perl_Imarkstack_ptr_ptr},
+ {"Perl_Imarkstack_max_ptr", (PERL_PROC*)&Perl_Imarkstack_max_ptr},
+ {"Perl_ISv_ptr", (PERL_PROC*)&Perl_ISv_ptr},
+ {"Perl_IXpv_ptr", (PERL_PROC*)&Perl_IXpv_ptr},
+ {"Perl_Ina_ptr", (PERL_PROC*)&Perl_Ina_ptr},
+ {"Perl_call_list", (PERL_PROC*)&Perl_call_list},
+ {"Perl_Iscopestack_ix_ptr", (PERL_PROC*)&Perl_Iscopestack_ix_ptr},
+ {"Perl_Iunitcheckav_ptr", (PERL_PROC*)&Perl_Iunitcheckav_ptr},
+#endif
{"Perl_Idefgv_ptr", (PERL_PROC*)&Perl_Idefgv_ptr},
{"Perl_Ierrgv_ptr", (PERL_PROC*)&Perl_Ierrgv_ptr},