add Bytearray '__pairs` metamethod

This commit is contained in:
MihailRis
2025-05-01 18:20:02 +03:00
parent 50aae8b98b
commit 805e3fdd7d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ end
local bytearray = require "core:internal/bytearray"
Bytearray = bytearray.FFIBytearray
Bytearray_as_string = bytearray.FFIBytearray_as_string
Bytearray_construct = Bytearray.__call
Bytearray_construct = function(...) return Bytearray(...) end
ffi = nil
math.randomseed(time.uptime() * 1536227939)