27 #ifndef FCML_SYMBOLS_H_ 28 #define FCML_SYMBOLS_H_ 60 const fcml_string symbol, fcml_int64_t value);
LIB_EXPORT fcml_ceh_error LIB_CALL fcml_fn_symbol_add(fcml_st_symbol_table symbol_table, const fcml_st_symbol *symbol)
Adds existing symbol to the symbol table.
fcml_ptr fcml_st_symbol_table
Type for symbol tables.
Definition: fcml_symbols.h:35
LIB_EXPORT void LIB_CALL fcml_fn_symbol_table_free(fcml_st_symbol_table symbol_table)
Frees a symbol table.
LIB_EXPORT fcml_st_symbol *LIB_CALL fcml_fn_symbol_alloc(const fcml_string symbol, fcml_int64_t value)
Allocates new symbol on FCML library heap.
Definitions of common structures used by FCML components.
Handles Win32 DLL symbols importing/exporting.
LIB_EXPORT void LIB_CALL fcml_fn_symbol_free(fcml_st_symbol *symbol)
Frees symbol allocated by FCML library.
LIB_EXPORT void LIB_CALL fcml_fn_symbol_remove(fcml_st_symbol_table symbol_table, const fcml_string symbol)
Removes the symbol from the symbol table.
LIB_EXPORT fcml_st_symbol *LIB_CALL fcml_fn_symbol_get(fcml_st_symbol_table symbol_table, const fcml_string symbol)
Gets the symbol with the given name from the symbol table.
LIB_EXPORT fcml_st_symbol_table LIB_CALL fcml_fn_symbol_table_alloc()
Allocates new symbol table.
Represents one named symbol with associated value.
Definition: fcml_symbols.h:42
LIB_EXPORT fcml_ceh_error LIB_CALL fcml_fn_symbol_add_raw(fcml_st_symbol_table symbol_table, const fcml_string symbol, fcml_int64_t value)
Adds new symbol to the symbol table.
Global error handling related declarations.
fcml_uint16_t fcml_ceh_error
All error codes should be held in variables of this type.
Definition: fcml_errors.h:156
struct fcml_st_symbol fcml_st_symbol
Represents one named symbol with associated value.
LIB_EXPORT void LIB_CALL fcml_fn_symbol_remove_all(fcml_st_symbol_table symbol_table)
Removes all symbols from the symbol table.