2021-04-14 00:08:17 +09:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
|
#ifndef INTERNAL_H
|
|
|
|
|
#define INTERNAL_H
|
|
|
|
|
|
2024-07-20 16:27:38 +09:00
|
|
|
#include <hashtable.h>
|
2024-02-11 21:41:05 +09:00
|
|
|
|
|
|
|
|
#define SYMBOL_HASHSIZE (1U << 14)
|
|
|
|
|
|
|
|
|
|
extern HASHTABLE_DECLARE(sym_hashtable, SYMBOL_HASHSIZE);
|
|
|
|
|
|
|
|
|
|
#define for_all_symbols(sym) \
|
|
|
|
|
hash_for_each(sym_hashtable, sym, node)
|
|
|
|
|
|
2024-09-08 21:43:20 +09:00
|
|
|
#define EXPR_HASHSIZE (1U << 14)
|
|
|
|
|
|
|
|
|
|
extern HASHTABLE_DECLARE(expr_hashtable, EXPR_HASHSIZE);
|
|
|
|
|
|
2024-09-08 21:43:21 +09:00
|
|
|
void expr_invalidate_all(void);
|
|
|
|
|
|
2021-04-14 00:08:17 +09:00
|
|
|
struct menu;
|
|
|
|
|
|
|
|
|
|
extern struct menu *current_menu, *current_entry;
|
|
|
|
|
|
2024-02-03 00:58:08 +09:00
|
|
|
extern const char *cur_filename;
|
|
|
|
|
extern int cur_lineno;
|
|
|
|
|
|
2021-04-14 00:08:17 +09:00
|
|
|
#endif /* INTERNAL_H */
|