We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
All macros should define with upper-case character.
Special Case:
Expose to user, define it by adding prefix "EX_".
#define EX_FOOBAR 1
All local variable should start with lower-case character.
use prefix __ define a static variable in .c file.
__
// file name: test.c static int __counter = 0;
use prefix _ declare a parameter in a function.
_
void foobar ( int _count ) { ... }
Always add ex_ prefix and _t suffix for structure exposed to user.
ex_
_t
typedef struct ex_foobar_t { } ex_foobar_t;
Always add extern keyword when declare a global function in a header file.
extern
extern void foobar (int);
use prefix __ define a static function in .c file.
static void __foobar () { ... }
Always add ex_ prefix for function write in exsdk exposed to user.
extern void ex_foobar (int);