|
> If lua can offer a C API like lua_clonetable would be better ?
Let's get this straight: you are not offering code that relies on
#include <lobject.h>
#include <ltable.h>
as if doing so is kosher; you are merely providing proof-of-concept
code that the requested feature lua_clonetable is possible, right?