Mercurial > vim
view src/typemap @ 12948:851393938fa3 v8.0.1350
patch 8.0.1350: cannot build with +eval and -multi_byte
commit https://github.com/vim/vim/commit/1355aad2b94790217aeef9077d3fb9925461f137
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 27 22:49:01 2017 +0100
patch 8.0.1350: cannot build with +eval and -multi_byte
Problem: Cannot build with +eval and -multi_byte.
Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte
feature when an input method feature is enabled.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 27 Nov 2017 23:00:04 +0100 |
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}\")