Mercurial > vim
view src/typemap @ 8534:485d4d8a97f6 v7.4.1557
commit https://github.com/vim/vim/commit/86edef664efccbfe685906c854b9cdd04e56f2d5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 13 18:07:30 2016 +0100
patch 7.4.1557
Problem: Windows cannot be identified.
Solution: Add a unique window number to each window and functions to use it.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Mar 2016 18:15:05 +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}\")