mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-24 00:18:39 +00:00
neaten
This commit is contained in:
parent
35d4fe6442
commit
0a3bf63ead
1 changed files with 4 additions and 4 deletions
|
|
@ -4,17 +4,17 @@
|
|||
#include "../containers/mlrval.h"
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
// These use the MT defines from mlrval.h
|
||||
// These use the MT defines from mlrval.h, except that map-types (mlhmmv.h)
|
||||
// are outside of mlrval.h.
|
||||
#define TYPE_MASK_ERROR (1 << MT_ERROR)
|
||||
#define TYPE_MASK_ABSENT (1 << MT_ABSENT)
|
||||
#define TYPE_MASK_EMPTY (1 << MT_EMPTY)
|
||||
#define TYPE_MASK_STRING ((1 << MT_STRING) | (1 << MT_EMPTY))
|
||||
#define TYPE_MASK_INT (1 << MT_INT)
|
||||
#define TYPE_MASK_FLOAT (1 << MT_FLOAT)
|
||||
#define TYPE_MASK_BOOLEAN (1 << MT_BOOLEAN)
|
||||
#define TYPE_MASK_MAP (1 << MT_DIM) // xxx for later. xxx note map-types are outside of mlrval.h.
|
||||
|
||||
#define TYPE_MASK_NUMERIC (TYPE_MASK_INT | TYPE_MASK_FLOAT)
|
||||
#define TYPE_MASK_BOOLEAN (1 << MT_BOOLEAN)
|
||||
#define TYPE_MASK_MAP (1 << MT_DIM)
|
||||
#define TYPE_MASK_ANY (~0)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue