mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-24 00:18:39 +00:00
14 lines
494 B
C
14 lines
494 B
C
#ifndef FREE_FLAGS_H
|
|
#define FREE_FLAGS_H
|
|
|
|
// For use by various data structures including slls_t and lrec_t. Some
|
|
// keys/values are dynamically allocated and should be freed the container's
|
|
// destructor, and some should not. Examples of the former include strduped
|
|
// keys/values; examples of the latter include data from string literals, or
|
|
// from mmapped file-input data.
|
|
|
|
#define NO_FREE 0x00
|
|
#define FREE_ENTRY_KEY 0x80
|
|
#define FREE_ENTRY_VALUE 0x08
|
|
|
|
#endif // FREE_FLAGS_H
|