Aprepro 5.0x
Loading...
Searching...
No Matches
apr_init.cc File Reference
#include "apr_builtin.h"
#include "apr_tokenize.h"
#include "aprepro.h"
#include "init_structs.h"
#include <array>
#include <string>

Namespaces

namespace  SEAMS
 

Macros

#define internal_init_table(functions, func_type, sym_type)
 

Variables

const init SEAMS::arith_0_fncts []
 
const init_d SEAMS::arith_fncts []
 
const init_a SEAMS::arith_a_fncts []
 
const init_dd SEAMS::arith_dd_fncts []
 
const init_dddd SEAMS::arith_dddd_fncts []
 
const init_cc SEAMS::arith_cc_fncts []
 
const init_ccc SEAMS::arith_ccc_fncts []
 
const init_c SEAMS::arith_c_fncts []
 
const init_cd SEAMS::arith_cd_fncts []
 
const init_ddd SEAMS::arith_ddd_fncts []
 
const init_dddddd SEAMS::arith_dddddd_fncts []
 
const str_init SEAMS::string_fncts []
 
const str_c_init SEAMS::string_c_fncts []
 
const str_d_init SEAMS::string_d_fncts []
 
const str_dc_init SEAMS::string_dc_fncts []
 
const str_dcc_init SEAMS::string_dcc_fncts []
 
const str_ccc_init SEAMS::string_ccc_fncts []
 
const str_cc_init SEAMS::string_cc_fncts []
 
const str_a_init SEAMS::string_a_fncts []
 
const array_c_init SEAMS::array_c_fncts []
 
const array_cd_init SEAMS::array_cd_fncts []
 
const array_cc_init SEAMS::array_cc_fncts []
 
const array_ddd_init SEAMS::array_ddd_fncts []
 
const array_dd_init SEAMS::array_dd_fncts []
 
const array_d_init SEAMS::array_d_fncts []
 
const array_a_init SEAMS::array_a_fncts []
 
const var_init SEAMS::variables []
 
const svar_init SEAMS::svariables []
 

Macro Definition Documentation

◆ internal_init_table

#define internal_init_table ( functions,
func_type,
sym_type )
Value:
do { \
for (int i = 0; functions[i].fname != nullptr; i++) { \
symrec *ptr = putsym(functions[i].fname, sym_type, true); \
ptr->value.func_type = functions[i].fnct; \
ptr->info = functions[i].description; \
ptr->syntax = functions[i].syntax; \
} \
} while (0)