comparison src/if_lua.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 8c512e2c7cb5
children 0c7d6d01e058
comparison
equal deleted inserted replaced
2611:5b154df6fcd8 2612:fa5dee44df3f
47 # define HANDLE void* 47 # define HANDLE void*
48 # define load_dll(n) dlopen((n), RTLD_LAZY|RTLD_GLOBAL) 48 # define load_dll(n) dlopen((n), RTLD_LAZY|RTLD_GLOBAL)
49 # define symbol_from_dll dlsym 49 # define symbol_from_dll dlsym
50 # define close_dll dlclose 50 # define close_dll dlclose
51 #else 51 #else
52 # define load_dll LoadLibrary 52 # define load_dll vimLoadLib
53 # define symbol_from_dll GetProcAddress 53 # define symbol_from_dll GetProcAddress
54 # define close_dll FreeLibrary 54 # define close_dll FreeLibrary
55 #endif 55 #endif
56 56
57 /* lauxlib */ 57 /* lauxlib */