Mercurial > vim
view src/typemap @ 13989:12d747cf6cb2
Added tag v8.1.0012 for changeset 68290d296dc9d06fced603e122b086f76f9692bb
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 21 May 2018 13:45: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}\")