message,strings: Move vim_*printf functions to strings.c

Allows eval/typval.h to #include message.h.
This commit is contained in:
ZyX
2016-08-21 01:47:28 +03:00
parent 4a511de881
commit a429235b6d
5 changed files with 862 additions and 839 deletions

View File

@@ -66,7 +66,7 @@ for i, cmd in ipairs(defs) do
defsfile:write(string.format([[
[%s] = {
.cmd_name = (char_u *) "%s",
.cmd_func = &%s,
.cmd_func = (ex_func_T)&%s,
.cmd_argt = %uL,
.cmd_addr_type = %i
}]], enumname, cmd.command, cmd.func, cmd.flags, cmd.addr_type))