Aprepro 5.0x

Namespaces | Macros | Variables
apr_init.cc File Reference
`#include "apr_builtin.h"`
`#include "aprepro.h"`
`#include "init_structs.h"`
`#include <cstring>`
`#include <string>`

## Namespaces
| SEAMS

## Macros
#define | internal_init_table(functions, func_type, sym_type)

## Variables
init | SEAMS::arith_0_fncts []
init_d | SEAMS::arith_fncts []
init_a | SEAMS::arith_a_fncts []
init_dd | SEAMS::arith_dd_fncts []
init_dddd | SEAMS::arith_dddd_fncts []
init_cc | SEAMS::arith_cc_fncts []
init_ccc | SEAMS::arith_ccc_fncts []
init_c | SEAMS::arith_c_fncts []
init_cd | SEAMS::arith_cd_fncts []
init_ddd | SEAMS::arith_ddd_fncts []
init_dddddd | SEAMS::arith_dddddd_fncts []
str_init | SEAMS::string_fncts []
str_c_init | SEAMS::string_c_fncts []
str_d_init | SEAMS::string_d_fncts []
str_dcc_init | SEAMS::string_dcc_fncts []
str_ccc_init | SEAMS::string_ccc_fncts []
str_cc_init | SEAMS::string_cc_fncts []
str_a_init | SEAMS::string_a_fncts []
array_c_init | SEAMS::array_c_fncts []
array_cd_init | SEAMS::array_cd_fncts []
array_cc_init | SEAMS::array_cc_fncts []
array_dd_init | SEAMS::array_dd_fncts []
array_d_init | SEAMS::array_d_fncts []
array_a_init | SEAMS::array_a_fncts []
var_init | SEAMS::variables []
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)