Skip to content

Commit

Permalink
Platform independent 32-bit flag space
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 10, 2024
1 parent b1d7d80 commit ae6903c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/xchange.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#ifndef XCHANGE_H_
#define XCHANGE_H_

#include <stdint.h>

/// API major version
#define XCHANGE_MAJOR_VERSION 0
Expand Down Expand Up @@ -141,7 +142,7 @@ typedef struct XField {
XType type; ///< The underlyng data type
int ndim; ///< The dimensionality of the data
int sizes[X_MAX_DIMS]; ///< The sizes along each dimension
int flags; ///< (optional) flags that specific data exchange mechanism may use, e.g. for BSON subtype.
uint32_t flags; ///< (optional) flags that specific data exchange mechanism may use, e.g. for BSON subtype.
boolean isSerialized; ///< Whether the fields is stored in serialized (string) format.
struct XField *next; ///< Pointer to the next linked element (if inside an XStructure).
} XField;
Expand Down

0 comments on commit ae6903c

Please sign in to comment.