aboutsummaryrefslogtreecommitdiff
path: root/scripts/gendispatch.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-23 21:54:44 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-23 23:44:57 +0200
commit3fbc660d57f4726044662bde1bf52c527e45fb98 (patch)
treec75b91729467654d41d99dd8ab2e4f0d7556e79d /scripts/gendispatch.lua
parent2ed91f222f1dddda10fbdc9cb80df2be7d4c2da3 (diff)
downloadrneovim-3fbc660d57f4726044662bde1bf52c527e45fb98.tar.gz
rneovim-3fbc660d57f4726044662bde1bf52c527e45fb98.tar.bz2
rneovim-3fbc660d57f4726044662bde1bf52c527e45fb98.zip
api_set_error(): rename
Diffstat (limited to 'scripts/gendispatch.lua')
-rw-r--r--scripts/gendispatch.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gendispatch.lua b/scripts/gendispatch.lua
index 53af67cce4..0ee3ae6475 100644
--- a/scripts/gendispatch.lua
+++ b/scripts/gendispatch.lua
@@ -225,7 +225,7 @@ for i = 1, #functions do
end
output:write('\n')
output:write('\n if (args.size != '..#fn.parameters..') {')
- output:write('\n _api_set_error(error, kErrorTypeException, "Wrong number of arguments: expecting '..#fn.parameters..' but got %zu", args.size);')
+ output:write('\n api_set_error(error, kErrorTypeException, "Wrong number of arguments: expecting '..#fn.parameters..' but got %zu", args.size);')
output:write('\n goto cleanup;')
output:write('\n }\n')
@@ -250,7 +250,7 @@ for i = 1, #functions do
output:write('\n '..converted..' = (handle_T)args.items['..(j - 1)..'].data.integer;')
end
output:write('\n } else {')
- output:write('\n _api_set_error(error, kErrorTypeException, "Wrong type for argument '..j..', expecting '..param[1]..'");')
+ output:write('\n api_set_error(error, kErrorTypeException, "Wrong type for argument '..j..', expecting '..param[1]..'");')
output:write('\n goto cleanup;')
output:write('\n }\n')
else