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

@@ -373,6 +373,7 @@ static const GCFreeFunc gc_freefunc[] = {
#else
(GCFreeFunc)0,
#endif
(GCFreeFunc)0, /* Placeholder for C data. */
(GCFreeFunc)lj_tab_free,
(GCFreeFunc)lj_udata_free
};