Mercurial > vim
view src/typemap @ 24563:30ad18017e1c v8.2.2821
patch 8.2.2821: MS-Windows: unnessarily loading libraries when registering OLE
Commit: https://github.com/vim/vim/commit/3d0e7a956afb6f913466e96bd462eff0c92ad4c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 1 17:46:03 2021 +0200
patch 8.2.2821: MS-Windows: unnessarily loading libraries when registering OLE
Problem: MS-Windows: unnessarily loading libraries when registering OLE.
Solution: Skip loading libraries when invoked with "-register".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 May 2021 18:00:06 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")