GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-3 > QLATC_print / sun-gcc
#include <map.h>
#include <LEM/list_structs.h>
#include <AG_initIMM_p.h>
Defines | |
#define | CHECK_TYPE(t_) |
Check that the type is valid. | |
#define | CHECK_IDS(t_, r_, f_) |
Check that the reg ID and fld ID are consistent with the type. | |
Functions | |
LATC_imm * | LATC_newIMM (void) |
void | LATC_deleteIMM (LATC_imm *imm) |
void | LATC_clearIMM (LATC_imm *imm) |
#define CHECK_IDS | ( | t_, | |||
r_, | |||||
f_ | ) |
Value:
{ \ if(r_ >= ld[t_]->nregs) return _msg_report(LATC_BADREG, 0, 2, r_, ld[t_]->nregs); \ if(f_ >= ld[t_]->rd[r_].nflds) return _msg_report(LATC_BADFIELD, 0, 2, f_, ld[t_]->rd[r_].nflds); \ }
#define CHECK_TYPE | ( | t_ | ) |
Value:
{ \ if(N_LATC_TYPES <= t_) return _msg_report(LATC_BADTYPE, 0, 1, t_); \ if(!ld[t_]) return _msg_report(LATC_NOCPT, 0, 1, t_); \ }