mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0001
This commit is contained in:
14
src/typemap
Normal file
14
src/typemap
Normal file
@@ -0,0 +1,14 @@
|
||||
TYPEMAP
|
||||
VIWIN T_VIOBJNOMUNGE
|
||||
VIBUF T_VIOBJNOMUNGE
|
||||
|
||||
INPUT
|
||||
T_VIOBJNOMUNGE
|
||||
if (sv_isa($arg, \"${ntype}\")) {
|
||||
IV tmp = SvIV((SV*)SvRV($arg));
|
||||
$var = ($type) tmp;
|
||||
if (!tmp)
|
||||
croak(\"$ntype no longer exists\");
|
||||
}
|
||||
else
|
||||
croak(\"$var is not of type ${ntype}\")
|
Reference in New Issue
Block a user