Copy an existing Lua state.
This copies the pointer to an existing Lua state, not the Lua state itself. Modifying L via the flu bindings will modify the same Lua state as pointed to by lua_state.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(in) | :: | lua_state |