[MODULE]_[prefix][PascalCaseName];
Prefix | Meaning | Notes |
---|---|---|
Primary types | ||
l | long (int) | |
ul | unsigned long | |
w | short | |
uw | unsigned short | |
c | char | |
uc | unsigned char | |
f | float | (see x for more common float prefix) |
v | void | |
Defined types | ||
st | struct | |
u | union | |
e | enum | |
b | boolean | 4-byte BOOL or 1-byte ACP_tdxBool |
sz | string | null-terminated |
x | typedef ed primitive | most often used for MTH_tdxReal (float) |
h | handle | |
bf | bit-field | |
bf[N] | uses N bits | |
Stacking prefixes | ||
p_ | pointer | |
a_ | array | |
a[N]_ | fixed length of N elements | |
aDEF_ | fixed length defined by a macro | |
d_ | dynamic array | |
fn_ | function | |
M_ | macro | function-like |
C_ | constant | |
td | typedef | |
Other | ||
g_ | global | |
s_ | static | |
n | count / number of | |
Nb | ||
p_fn
== pfn
)