You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
370 B
21 lines
370 B
4 years ago
|
/**
|
||
|
* Global state
|
||
|
*
|
||
|
* Created on 2021/11/13.
|
||
|
*/
|
||
|
|
||
|
#ifndef FORTH_FH_GLOBALS_H
|
||
|
#define FORTH_FH_GLOBALS_H
|
||
|
|
||
|
/** Forth runtime global state */
|
||
|
struct fh_global_s {
|
||
|
/** Verbose logging enabled */
|
||
|
bool verbose;
|
||
|
/** Interactive mode (i.e. not started with a file argument) */
|
||
|
bool interactive;
|
||
|
};
|
||
|
|
||
|
extern struct fh_global_s fh_globals;
|
||
|
|
||
|
#endif //FORTH_FH_GLOBALS_H
|