21#if !(HX_USE_MACROS_WITH_MODULE)
29#include "detail/hxconsole_detail.hpp"
66#define hxconsole_command(x_) static HX_NS_PREFIX_ hxdetail_::hxconsole_constructor_ \
67 hxg_console_symbol_##x_(HX_NS_PREFIX_ hxdetail_::hxconsole_command_factory_(&(x_)), #x_)
74#define hxconsole_command_named(x_, name_) static HX_NS_PREFIX_ hxdetail_::hxconsole_constructor_ \
75 hxg_console_symbol_##name_(HX_NS_PREFIX_ hxdetail_::hxconsole_command_factory_(&(x_)), #name_)
84#define hxconsole_variable(x_) static HX_NS_PREFIX_ hxdetail_::hxconsole_constructor_ \
85 hxg_console_symbol_##x_(HX_NS_PREFIX_ hxdetail_::hxconsole_variable_factory_(&(x_)), #x_)
95#define hxconsole_variable_named(x_, name_) static HX_NS_PREFIX_ hxdetail_::hxconsole_constructor_ \
96 hxg_console_symbol_##name_(HX_NS_PREFIX_ hxdetail_::hxconsole_variable_factory_(&(x_)), #name_)
101#define hxconsole_command(x_) static_assert(true, "")
102#define hxconsole_command_named(x_, name_) static_assert(true, "")
103#define hxconsole_variable(x_) static_assert(true, "")
104#define hxconsole_variable_named(x_, name_) static_assert(true, "")
hxfile - Single-ownership C++ RAII abstraction for file I/O.
Definition hxfile.hpp:66
bool hxconsole_exec_line(const char *command_)
hxconsole_exec_line - Evaluates a console command to either call a function or set a variable.
bool hxconsole_exec_filename(const char *filename_)
hxconsole_exec_filename - Opens a configuration file by name and executes it.
bool hxconsole_exec_file(hxfile &file_)
hxconsole_exec_file - Executes a configuration file that is opened for reading.
HX_NS_BEGIN_ void hxconsole_deregister(const char *id_)
hxconsole_deregister - Explicitly deregisters a console symbol.
bool hxconsole_help(void)
hxconsole_help - Logs every console symbol to the console log.
#define hxattr_nonnull(...)
hxattr_nonnull - Indicates that a function has args that should not be null.
Definition hxsettings.h:97
A few utility functions and most standard C++ meta programming functions.
Provides core macros, memory management and feature detection.