summaryrefslogtreecommitdiffstats
path: root/include/expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/expression.h')
-rw-r--r--include/expression.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/expression.h b/include/expression.h
index 3f06a38a..39b89a99 100644
--- a/include/expression.h
+++ b/include/expression.h
@@ -121,7 +121,11 @@ enum symbol_types {
* @maxval: expected maximum value
*/
struct expr_ctx {
+ /* expr_ctx does not own the reference to dtype. The caller must ensure
+ * the valid lifetime.
+ */
const struct datatype *dtype;
+
enum byteorder byteorder;
unsigned int len;
unsigned int maxval;