comparison src/if_python.c @ 2612:fa5dee44df3f v7.3.034

updated for version 7.3.034 Problem: Win32: may be loading .dll from the wrong directory. Solution: Go to the Vim executable directory when opening a library.
author Bram Moolenaar <bram@vim.org>
date Sat, 23 Oct 2010 14:02:54 +0200
parents 7abef60aca22
children b803b2776880
comparison
equal deleted inserted replaced
2611:5b154df6fcd8 2612:fa5dee44df3f
108 # define load_dll(n) dlopen((n), RTLD_LAZY|RTLD_GLOBAL) 108 # define load_dll(n) dlopen((n), RTLD_LAZY|RTLD_GLOBAL)
109 # endif 109 # endif
110 # define close_dll dlclose 110 # define close_dll dlclose
111 # define symbol_from_dll dlsym 111 # define symbol_from_dll dlsym
112 # else 112 # else
113 # define load_dll LoadLibrary 113 # define load_dll vimLoadLib
114 # define close_dll FreeLibrary 114 # define close_dll FreeLibrary
115 # define symbol_from_dll GetProcAddress 115 # define symbol_from_dll GetProcAddress
116 # endif 116 # endif
117 117
118 /* This makes if_python.c compile without warnings against Python 2.5 118 /* This makes if_python.c compile without warnings against Python 2.5