FFI: Add cdata object type.

This commit is contained in:
Mike Pall
2010-11-26 13:28:46 +01:00
parent 6290d6f5d0
commit 2fd1292955
7 changed files with 47 additions and 10 deletions

View File

@@ -55,8 +55,9 @@ LJLIB_PUSH("thread")
LJLIB_PUSH("proto")
LJLIB_PUSH("function")
LJLIB_PUSH("trace")
LJLIB_PUSH("cdata")
LJLIB_PUSH("table")
LJLIB_PUSH(top-8) /* userdata */
LJLIB_PUSH(top-9) /* userdata */
LJLIB_PUSH("number")
LJLIB_ASM_(type) LJLIB_REC(.)
/* Recycle the lj_lib_checkany(L, 1) from assert. */