FFI: Add support for parameterized C types.

This commit is contained in:
Mike Pall
2012-06-14 19:54:07 +02:00
parent ca6bf2d9a4
commit 946c7418d5
4 changed files with 57 additions and 10 deletions

View File

@@ -149,6 +149,7 @@ ERRDEF(FFI_BADSCL, "bad storage class")
ERRDEF(FFI_DECLSPEC, "declaration specifier expected")
ERRDEF(FFI_BADTAG, "undeclared or implicit tag " LUA_QS)
ERRDEF(FFI_REDEF, "attempt to redefine " LUA_QS)
ERRDEF(FFI_NUMPARAM, "wrong number of type parameters")
ERRDEF(FFI_INITOV, "too many initializers for " LUA_QS)
ERRDEF(FFI_BADCONV, "cannot convert " LUA_QS " to " LUA_QS)
ERRDEF(FFI_BADLEN, "attempt to get length of " LUA_QS)