Changes the allocator function of a given state to f with user data ud.
Lua Class | Tao.Lua Namespace