Daurnimator wrote: > I ran into the interesting situation where I'd like a lua_CFunction to > receive any type of parameter; is there a formal documentation for > handling them? > Eg, what lua_type returns? I'm not sure that's a good idea to mix classic API functions with FFI data types. I really don't want to extend the classic API with support for handling cdata objects. That said, lua_type() returns 10 for cdata. And lua_topointer() returns a pointer to the data area of a cdata object. That's about it for cdata support in the classic API. --Mike