Mercurial > vim
view src/typemap @ 10881:8f6df2f6d2fc v8.0.0330
patch 8.0.0330: illegal memory access after "vapo"
commit https://github.com/vim/vim/commit/84b2a381451e9068b09ef6d85f5e8cf1598e7355
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 17 11:40:00 2017 +0100
patch 8.0.0330: illegal memory access after "vapo"
Problem: Illegal memory access after "vapo". (Dominique Pelle)
Solution: Fix the cursor column.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 17 Feb 2017 11:45: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}\")