Mercurial > vim
view src/typemap @ 18388:368d6a478ae5 v8.1.2188
patch 8.1.2188: build error for missing define
Commit: https://github.com/vim/vim/commit/2b78ab5d0c91c229715ae140a34978506343bde3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 19 22:50:20 2019 +0200
patch 8.1.2188: build error for missing define
Problem: Build error for missing define.
Solution: Add missing change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Oct 2019 23:00:04 +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}\")