Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
limits.hpp File Reference

hard wired safety limits. More...

Go to the source code of this file.

Description

hard wired safety limits.

Whenever some task is attempted until success, or in response to external input, an arbitrary fixed constraint is imposed for indexing, counting, searching and similar ordinal operations. These limits are a protection against ordinal and index numbers insanely out-of dimension, like e.g. a symbolic ID with more than 1000 characters. Whenever an actual allocation is based on such ordinal values, a tighter and more specific limitation will be enforced on a case by case base.

See also
symbol-impl.cpp
util::uNum

Definition in file limits.hpp.

Macros

#define LUMIERA_IDSTRING_MAX_RELEVANT   1000
 
#define LUMIERA_MAX_ORDINAL_NUMBER   1000
 
#define LUMIERA_MAX_COMPETITION   100
 

Macro Definition Documentation

◆ LUMIERA_IDSTRING_MAX_RELEVANT

#define LUMIERA_IDSTRING_MAX_RELEVANT   1000

Definition at line 33 of file limits.hpp.

◆ LUMIERA_MAX_ORDINAL_NUMBER

#define LUMIERA_MAX_ORDINAL_NUMBER   1000

Definition at line 34 of file limits.hpp.

◆ LUMIERA_MAX_COMPETITION

#define LUMIERA_MAX_COMPETITION   100

Definition at line 35 of file limits.hpp.