Mercurial > vim
view src/typemap @ 7432:472684f0cd33
commit https://github.com/vim/vim/commit/40a346dc19a75f2be1b2d491053487cf365dd7d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 1 17:29:40 2016 +0100
Update gitignore for files created when running tests.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jan 2016 17:45:03 +0100 |
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}\")