renamed bytearray F32view to FLT view & improved bytearray Russian docs

This commit is contained in:
RomanDonw 2026-08-04 17:41:24 +10:00
parent e0afe5c649
commit 9fc94e40b2
3 changed files with 10 additions and 5 deletions

View file

@ -356,7 +356,7 @@ local FFII16view = create_FFIview_class("FFII16view", "int16_t")
local FFIU16view = create_FFIview_class("FFIU16view", "uint16_t")
local FFII32view = create_FFIview_class("FFII32view", "int32_t")
local FFIU32view = create_FFIview_class("FFIU32view", "uint32_t")
local FFIF32view = create_FFIview_class("FFIF32view", "float")
local FFIFLTview = create_FFIview_class("FFIFLTview", "float")
return {
FFIBytearray = setmetatable(FFIBytearray, FFIBytearray),
@ -366,5 +366,5 @@ return {
FFII16view = FFII16view,
FFIU32view = FFIU32view,
FFII32view = FFII32view,
FFIF32view = FFIF32view,
FFIFLTview = FFIFLTview,
}

View file

@ -314,7 +314,7 @@ U16view = bytearray.FFIU16view
I16view = bytearray.FFII16view
U32view = bytearray.FFIU32view
I32view = bytearray.FFII32view
F32view = bytearray.FFIF32view
FLTview = bytearray.FFIFLTview
Bytearray_construct = function(...) return Bytearray(...) end
bit.compile = require "core:bitwise/compiler"