VE Lua Documentation

Press F to search!

wrapAllExtensionsForProfiler

Definition


-- @/lua/common/extensions.lua:480

local function wrapAllExtensionsForProfiler()
  for j, m in ipairs(resolvedModules) do
    for name, value in pairs(m) do
      if type(value) == "function" and name ~= "wrapAllExtensions" then
        m[name] = wrapFunctionWithProfiler(value, m.__extensionName__ .. "." .. name)
      end
    end
  end
end

Callers