Ottenere il tag della lua_stringw

Per ottenere il tag di un oggetto lua_stringw usare la funzione globale "string_w_tag"

local tag = string_w_tag()

Il tag serve per riconoscere uno userdata LUA.

Esempio.

-- Tag dell'oggetto string_w
local tag = string_w_tag()