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

@@ -316,6 +316,7 @@ typedef enum {
IRT_PROTO,
IRT_FUNC,
IRT_9, /* Unused (map of LJ_TTRACE). */
IRT_CDATA,
IRT_TAB,
IRT_UDATA,
/* ... until here. */
@@ -329,7 +330,7 @@ typedef enum {
IRT_U8,
IRT_I16,
IRT_U16,
/* There is room for 14 more types. */
/* There is room for 13 more types. */
/* Additional flags. */
IRT_MARK = 0x20, /* Marker for misc. purposes. */