Skip to content
Snippets Groups Projects
Commit 7b357950 authored by Mergen Imeev's avatar Mergen Imeev Committed by Kirill Yukhin
Browse files

lua: new function luaT_push_nil_and_error()

Currently, if we have to return errors using the format
'return nil, error', we must do it manually. Since this error
return method is described in our Lua coding style, it makes sense
to create a function that will return an error in this format.
This patch creates mentioned function.

Needed for #4390
parent 6770d339
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment