Software /
code /
prosody
File
teal-src/util/struct.d.tl @ 12949:2f61ebcf37c0
prosody.loader: Ensure already loaded modules are found in old and new namespaces
Prevents modules being initialized twice, ensuring that
require"prosody.util.foo" == require"util.foo"
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2023 15:11:26 +0100 |
parent | 12619:d593cb709525 |
line wrap: on
line source
local record lib pack : function (string, ...:any) : string unpack : function(string, string, integer) : any... size : function(string) : integer end return lib