Outdated comment

85 views
Skip to first unread message

Sainan

unread,
Dec 28, 2025, 12:07:49 PM12/28/25
to lu...@googlegroups.com
Hi, in ltm.h, this comment seems to be outdated with respect to the removal of BITRAS in Lua 5.5's commits:

/*
** Mask with 1 in all fast-access methods. A 1 in any of these bits
** in the flag of a (meta)table means the metatable does not have the
** corresponding metamethod field. (Bit 6 of the flag indicates that
** the table is using the dummy node; bit 7 is used for 'isrealasize'.)
*/
#define maskflags cast_byte(~(~0u << (TM_EQ + 1)))

-- Sainan

Roberto Ierusalimschy

unread,
Dec 29, 2025, 12:25:28 PM12/29/25
to 'Sainan' via lua-l
Thanks for the feedback.

-- Roberto
Reply all
Reply to author
Forward
0 new messages