0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
vim/src/typemap

15 lines
284 B
Plaintext
Raw Normal View History

2004-06-13 20:20:40 +00:00
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);
2004-06-13 20:20:40 +00:00
if (!tmp)
croak(\"$ntype no longer exists\");
}
else
croak(\"$var is not of type ${ntype}\")