mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
added typesize method for bytearray views (viewers) (both to Lua and docs (only Russian for now))
This commit is contained in:
parent
b30207917f
commit
e0afe5c649
2 changed files with 10 additions and 0 deletions
|
|
@ -339,6 +339,9 @@ local function create_FFIview_class(name, typename)
|
|||
return i, ptr[i - 1]
|
||||
end
|
||||
end
|
||||
end,
|
||||
typesize = function()
|
||||
return typesize
|
||||
end
|
||||
}
|
||||
return function (bytes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue