Skip to content
Snippets Groups Projects
Unverified Commit 6a63b7c0 authored by Alexander Turenko's avatar Alexander Turenko
Browse files

module api/lua: add luaL_iscdata() function

It is useful to provide a module specific error when cdata expected, but
a value of another type is passed.

Alternative would be using of lua_type() to check against LUA_TCDATA,
but this constant is not exposed for modules. See more in the
luaL_iscdata() API comment.

Part of #5273
parent c6117909
No related branches found
No related tags found
Loading
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