Mercurial > vim
view src/typemap @ 9135:35422e34815f v7.4.1851
commit https://github.com/vim/vim/commit/180fc2d41812c49b60224a1ca89945a002a090f5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 28 13:28:10 2016 +0200
patch 7.4.1851
Problem: test_syn_attr failes when using the GUI. (Dominique Pelle)
Solution: Escape the font name properly.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 May 2016 13:30: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}\")