Skip to main content

luaur_vm/macros/
gnext.rs

1// VM/src/ltable.h — #define gnext(n) ((n)->key.next)
2// TKey packs tt+next into tt_next; the record exposes a next() accessor.
3#[allow(non_snake_case)]
4#[macro_export]
5macro_rules! gnext {
6    ($n:expr) => {
7        (*$n).key.next()
8    };
9}
10
11pub use gnext;