Re: Unaligned memory access

Andre Leiradella <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
Em segunda-feira, 16 de fevereiro de 2026 às 08:28:01 UTC, Sewbacca 
escreveu:

I think what they meant is you can pass a custom allocator function in 
lua_newstate() instead of the default one provided by luaL_newstate()

I don't think that will guarantee 16-bit alignment for the userdata, since 
the userdata has a header that might cause the actual space for the 
userdata to fall into an 8-bytes boundary. 

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/6099cd34-0fba-4bc3-b910-e0e807f1420an%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.