Cthulhu  0.2.10
Cthulhu compiler collection
cfg_int_t Struct Reference

an integer field More...

#include <config.h>

Public Member Functions

 STA_FIELD_RANGE (min, max) int initial
 default value More...
 
 STA_FIELD_RANGE (INT_MIN, max) int min
 minimum value More...
 
 STA_FIELD_RANGE (min, INT_MAX) int max
 maximum value More...
 

Detailed Description

an integer field

Definition at line 81 of file config.h.

Member Function Documentation

◆ STA_FIELD_RANGE() [1/3]

cfg_int_t::STA_FIELD_RANGE ( INT_MIN  ,
max   
)

minimum value

Note
if min == INT_MIN, there is no minimum

◆ STA_FIELD_RANGE() [2/3]

cfg_int_t::STA_FIELD_RANGE ( min  ,
INT_MAX   
)

maximum value

Note
if max == INT_MAX, there is no maximum

◆ STA_FIELD_RANGE() [3/3]

cfg_int_t::STA_FIELD_RANGE ( min  ,
max   
)

default value


The documentation for this struct was generated from the following file: