aboutsummaryrefslogtreecommitdiff
path: root/unit_label.h
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-06-18 20:56:21 +1200
committerDavid Phillips <david@sighup.nz>2018-06-18 20:56:21 +1200
commitcd9ad9b08d150535a511cdb91ba6e8139d5b6e81 (patch)
tree7a4b5ed26f739c8de0191192f3da3dfa93372de6 /unit_label.h
parentf2e3e195c28c4ab5a4605981f8779fa9a1ef6a06 (diff)
downloadsand-leek-cd9ad9b08d150535a511cdb91ba6e8139d5b6e81.tar.xz
Move unit_label struct into header file
Diffstat (limited to 'unit_label.h')
-rw-r--r--unit_label.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/unit_label.h b/unit_label.h
index 7fe1f2b..8f6220c 100644
--- a/unit_label.h
+++ b/unit_label.h
@@ -1,5 +1,8 @@
struct unit_label {
- double lower_bound;
+ /* number of times this unit fits into the immediate larger one */
+ double count;
+
+ /* label for the unit*/
char *label;
};