Mercurial > hg > RemoteEditor > vim7
view src/typemap @ 30:bf9fabc0ae84 almost-works
*** empty log message ***
author | kono |
---|---|
date | Tue, 28 Oct 2008 01:42:44 +0900 |
parents | 76efa0be13f1 |
children | 67300faee616 |
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 = ($type) tmp; if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")