annotate src/testdir/sautest/autoload/footest.vim @ 16825:ce04ebdf26b8 v8.1.1414

patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts commit https://github.com/vim/vim/commit/c799fe206e61f2e2c1231bc46cbe4bb354f3da69 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 28 23:08:19 2019 +0200 patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 May 2019 23:15:10 +0200
parents cb9b2774f21f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12788
cb9b2774f21f patch 8.0.1271: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents: 5604
diff changeset
1 " Autoload script used by test_listdict.vim, test_exists.vim and test_let.vim
5604
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 let footest#x = 1
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 func footest#F()
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 return 0
b43363a7b4c7 updated for version 7.4.149
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 endfunc