Mercurial > vim
comparison src/if_perl.xs @ 5267:585b623a1aa3 v7.4b.010
updated for version 7.4b.010
Problem: Win32: Tcl library load does not use standard mechanism.
Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 02 Aug 2013 20:05:32 +0200 |
parents | b882d4b14e00 |
children | 805ad8488dc8 |
comparison
equal
deleted
inserted
replaced
5266:d37fb0ea5c7a | 5267:585b623a1aa3 |
---|---|
493 }; | 493 }; |
494 | 494 |
495 /* | 495 /* |
496 * Make all runtime-links of perl. | 496 * Make all runtime-links of perl. |
497 * | 497 * |
498 * 1. Get module handle using LoadLibraryEx. | 498 * 1. Get module handle using dlopen() or vimLoadLib(). |
499 * 2. Get pointer to perl function by GetProcAddress. | 499 * 2. Get pointer to perl function by GetProcAddress. |
500 * 3. Repeat 2, until get all functions will be used. | 500 * 3. Repeat 2, until get all functions will be used. |
501 * | 501 * |
502 * Parameter 'libname' provides name of DLL. | 502 * Parameter 'libname' provides name of DLL. |
503 * Return OK or FAIL. | 503 * Return OK or FAIL. |