annotate src/typemap @ 17567:b25f81a18616
v8.1.1781
patch 8.1.1781: Amiga: no builtin OS readable version info
commit https://github.com/vim/vim/commit/70576f70f789d6161068fbe126f29ad976e029e9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 31 20:40:08 2019 +0200
patch 8.1.1781: Amiga: no builtin OS readable version info
Problem: Amiga: no builtin OS readable version info.
Solution: Add a "version" variable. (Ola S?der, closes https://github.com/vim/vim/issues/4753)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 31 Jul 2019 20:45:07 +0200 |
parents |
dec4338a7da2 |
children |
|
rev |
line source |
7
|
1 TYPEMAP
|
|
2 VIWIN T_VIOBJNOMUNGE
|
|
3 VIBUF T_VIOBJNOMUNGE
|
|
4
|
|
5 INPUT
|
|
6 T_VIOBJNOMUNGE
|
|
7 if (sv_isa($arg, \"${ntype}\")) {
|
|
8 IV tmp = SvIV((SV*)SvRV($arg));
|
3344
|
9 $var = INT2PTR($type, tmp);
|
7
|
10 if (!tmp)
|
|
11 croak(\"$ntype no longer exists\");
|
|
12 }
|
|
13 else
|
|
14 croak(\"$var is not of type ${ntype}\")
|