Mercurial > vim
view src/typemap @ 17624:4c7097a980a5 v8.1.1809
patch 8.1.1809: more functions can be used as a method
commit https://github.com/vim/vim/commit/a74e4946de074d2916e3d6004f7fa1810d12dda9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 4 17:35:53 2019 +0200
patch 8.1.1809: more functions can be used as a method
Problem: More functions can be used as a method.
Solution: Add has_key(), split(), str2list(), etc.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Aug 2019 17:45:05 +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}\")