Hi, Lothar Scholz wrote: > At the moment i'm using an hash table for all my own userdata, > lookup the pointer there and if found i get a verification that this > userdata is really a "Foobar" struct. No hash lookups required if you do it right: http://lua-users.org/lists/lua-l/2004-07/msg00369.html Bye, Mike