genx Lua+ffi binding (XML generation)