Home
last modified time | relevance | path

Searched refs:lua_newuserdata (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/utils/
DSkLua.cpp51 T* addr = (T*)lua_newuserdata(L, sizeof(T)); in DEF_MTNAME()
59 new (lua_newuserdata(L, sizeof(T))) T(obj); in push_obj()
65 *(T**)lua_newuserdata(L, sizeof(T*)) = SkSafeRef(ref); in push_ref()
/external/chromium_org/third_party/skia/src/utils/
DSkLua.cpp54 T* addr = (T*)lua_newuserdata(L, sizeof(T)); in DEF_MTNAME()
62 new (lua_newuserdata(L, sizeof(T))) T(obj); in push_obj()
68 *(T**)lua_newuserdata(L, sizeof(T*)) = SkSafeRef(ref); in push_ref()
/external/chromium_org/third_party/skia/third_party/lua/src/
Dlua.h230 LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); variable
Dliolib.c168 LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream)); in newprefile()
Dlauxlib.c447 newbuff = (char *)lua_newuserdata(L, newsize * sizeof(char)); in luaL_prepbuffsize()
Dlapi.c1175 LUA_API void *lua_newuserdata (lua_State *L, size_t size) { in lua_newuserdata() function