Moved potion.c globals to instance_globals.

This commit is contained in:
Bart House
2018-11-23 11:23:03 -08:00
parent d37a91a6b8
commit d3c192e5a8
15 changed files with 74 additions and 84 deletions

View File

@@ -22,11 +22,13 @@
0 \
}
/* UNDEFINED_VALUE and UNDEFINED_PTR are used to initialize variables whose
initialized value is not relied upon. UNDEFINED_VALUE can be used to
initialized any value type except pointers. UNDEFINED_PTR can be used
only on pointer types. */
#define UNDEFINED_VALUE { 0 }
/* The UNDEFINED macros are used to initialize variables whose
initialized value is not relied upon.
UNDEFINED_VALUE: used to initialize any scalar type except pointers.
UNDEFINED_VALUES: used to initialize any non scalar type without pointers.
UNDEFINED_PTR: can be used only on pointer types. */
#define UNDEFINED_VALUE 0
#define UNDEFINED_VALUES { 0 }
#define UNDEFINED_PTR NULL
/* symbolic names for capacity levels */