Skip to main content

Module macros

Module macros 

Source

Modules§

luau_assert
luau_assertenabled
luau_big_endian
luau_debugbreak
luau_dynamic_fastflag
LUAU_DYNAMIC_FASTFLAG(flag) — forward-declares a dynamic bool FastFlag defined in another translation unit. Reference: luau/Common/include/Luau/Common.h. Expands to nothing (the flag is a pub static reached by path, crate::DFFlag::flag); see crate::macros::luau_fastflag.
luau_dynamic_fastflagvariable
LUAU_DYNAMIC_FASTFLAGVARIABLE(flag, def) — defines a dynamic bool FastFlag (the dynamic bit is true). Reference: luau/Common/include/Luau/Common.h. See crate::macros::luau_fastflagvariable for the namespace/pub static design; reads are DFFlag::flag -> crate::DFFlag::flag.get().
luau_dynamic_fastint
LUAU_DYNAMIC_FASTINT(flag) — forward-declares a dynamic int FastFlag defined in another translation unit. Reference: luau/Common/include/Luau/Common.h. Expands to nothing (the flag is a pub static reached by path, crate::DFInt::flag); see crate::macros::luau_fastflag.
luau_dynamic_fastintvariable
LUAU_DYNAMIC_FASTINTVARIABLE(flag, def) — defines a dynamic int FastFlag (the dynamic bit is true). Reference: luau/Common/include/Luau/Common.h. See crate::macros::luau_fastflagvariable for the namespace/pub static design; reads are DFInt::flag -> crate::DFInt::flag.get().
luau_fallthrough
luau_fastflag
LUAU_FASTFLAG(flag) — forward-declares a bool FastFlag defined in another translation unit. Reference: luau/Common/include/Luau/Common.h (namespace FFlag { extern FValue<bool> flag; }).
luau_fastflagvariable
LUAU_FASTFLAGVARIABLE(flag) — defines a static (non-dynamic) bool FastFlag. Reference: luau/Common/include/Luau/Common.h.
luau_fastint
LUAU_FASTINT(flag) — forward-declares an int FastFlag defined in another translation unit. Reference: luau/Common/include/Luau/Common.h. Expands to nothing (the flag is a pub static reached by path); see crate::macros::luau_fastflag.
luau_fastintvariable
LUAU_FASTINTVARIABLE(flag, def) — defines a static (non-dynamic) int FastFlag. Reference: luau/Common/include/Luau/Common.h. See crate::macros::luau_fastflagvariable for the namespace/pub static design.
luau_flagversion
LUAU_FLAGVERSION(flag, version) — stamps a version onto a previously-defined flag. Reference: luau/Common/include/Luau/Common.h (static_assert(version != 0) + a static FValueVersionSetter that runs at init).
luau_forceinline
luau_insn_a
luau_insn_aux_a
luau_insn_aux_b
luau_insn_aux_kb
luau_insn_aux_kv
luau_insn_aux_kv_16
luau_insn_aux_not
luau_insn_aux_slot
luau_insn_b
luau_insn_c
luau_insn_d
luau_insn_e
luau_insn_fbslot_sealed
luau_insn_op
luau_likely
luau_noinline
luau_noreturn
luau_printf_attr
luau_timetrace_argument
LUAU_TIMETRACE_ARGUMENT(name, value). Reference: luau/Common/include/Luau/TimeTrace.h. No-op in the default build (LUAU_ENABLE_TIME_TRACE off — the C++ #else is do {} while (false)); see crate::macros::luau_timetrace_scope for the feature-gating note.
luau_timetrace_optional_tail_scope
LUAU_TIMETRACE_OPTIONAL_TAIL_SCOPE(name, category, microsec). Reference: luau/Common/include/Luau/TimeTrace.h. No-op in the default build (LUAU_ENABLE_TIME_TRACE off — the C++ #else form); see crate::macros::luau_timetrace_scope for the feature-gating note.
luau_timetrace_scope
LUAU_TIMETRACE_SCOPE(name, category). Reference: luau/Common/include/Luau/TimeTrace.h.
luau_unlikely
luau_unreachable
nominmax
win_32_lean_and_mean