lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> One question: why are the definitions for l_likely and l_unlikely that use
> the GNU builtin "__builtin_expect" only available by default in the Lua
> core and libraries, and not in C extension modules?

No strong reason. We usually do not export names not prefixed with
'lua_' (or some variant). Of course we could rename these macros.

-- Roberto