Mercurial > vim
view src/typemap @ 12531:c7164578e508 v8.0.1144
patch 8.0.1144: using wrong #ifdef for computing length
commit https://github.com/vim/vim/commit/0b05e491b473dbf39cd9f519030bf6363c272300
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 24 19:39:09 2017 +0200
patch 8.0.1144: using wrong #ifdef for computing length
Problem: Using wrong #ifdef for computing length.
Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
Matsomoto, closes #2153)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Sep 2017 19:45:04 +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}\")