mirror of
https://github.com/pret/pokeheartgold.git
synced 2025-03-05 11:37:07 +00:00
global: Add a NELEMS macro
This commit is contained in:
parent
9207816fb5
commit
92e77e2919
@ -7,4 +7,6 @@
|
||||
#include "config.h" // MUST COME BEFORE ANY OTHER GAMEFREAK HEADERS
|
||||
#include "assert.h"
|
||||
|
||||
#define NELEMS(a) (sizeof(a) / sizeof(*(a)))
|
||||
|
||||
#endif //POKEHEARTGOLD_GLOBAL_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user