270 B
270 B
hooks-guard-in-while
Like for loops, while loops must have a guard in their condition:
#define GUARD(maxiter) _g(__LINE__, (maxiter)+1)
int i = 0;
while (GUARD(3), i < 3)
[Read more](https://xrpl-hooks.readme.io/v2.0/docs/loops-and-guarding)