aboutsummaryrefslogtreecommitdiffstats
path: root/compressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'compressor.h')
-rw-r--r--compressor.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/compressor.h b/compressor.h
index 3442545..e394450 100644
--- a/compressor.h
+++ b/compressor.h
@@ -1,12 +1,14 @@
+typedef enum {
+ MASS_FLOW,
+ VOLUME_FLOW,
+} FlowType;
+
typedef struct {
union {
MassFlowRate mfr;
VolumeFlowRate vfr;
} u;
- enum {
- MASS_FLOW,
- VOLUME_FLOW
- } t;
+ FlowType t;
} Flow;
typedef struct {