VE Lua Documentation

Press F to search!

newproxy

Definition


-- @/=[C]:-1
function newproxy(...)

Callers

@/lua/common/extensions/ui/improfiler.lua
  profile.start(scope:lower()..interval, prof_cb)
  prof_ud = newproxy(true)
  getmetatable(prof_ud).__gc = prof_finish
@/lua/common/libs/LuLPeg/lulpeg.lua
    local __index_LL = {__index = LL}
    local baseproxy = newproxy(true)
    pattmt = getmetatable(baseproxy)
    function newpattern(cons)
        local pt = newproxy(baseproxy)
        setmetatable(cons, __index_LL)
    proxies = pcall(function()
        local prox = newproxy(true)
        local prox2 = newproxy(prox)
        local prox = newproxy(true)
        local prox2 = newproxy(prox)
        assert (type(getmetatable(prox)) == "table" 
@/lua/vehicle/extensions/profiling/p.lua
  profile.start(scope:lower()..interval, prof_cb)
  prof_ud = newproxy(true)
  getmetatable(prof_ud).__gc = prof_finish
@/lua/common/jit/p.lua
  profile.start(scope:lower()..interval, prof_cb)
  prof_ud = newproxy(true)
  getmetatable(prof_ud).__gc = prof_finish