FFI: Compile lightuserdata to void * conversion.

This commit is contained in:
Mike Pall
2013-10-09 17:23:08 +02:00
parent c8cfca0557
commit 88c7785b87
2 changed files with 7 additions and 1 deletions

View File

@@ -479,6 +479,7 @@ typedef uint32_t TRef;
#define tref_isnil(tr) (tref_istype((tr), IRT_NIL))
#define tref_isfalse(tr) (tref_istype((tr), IRT_FALSE))
#define tref_istrue(tr) (tref_istype((tr), IRT_TRUE))
#define tref_islightud(tr) (tref_istype((tr), IRT_LIGHTUD))
#define tref_isstr(tr) (tref_istype((tr), IRT_STR))
#define tref_isfunc(tr) (tref_istype((tr), IRT_FUNC))
#define tref_iscdata(tr) (tref_istype((tr), IRT_CDATA))