diff options
Diffstat (limited to 'src/scalepoint.c')
-rw-r--r-- | src/scalepoint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scalepoint.c b/src/scalepoint.c index 39c5a37..55056c8 100644 --- a/src/scalepoint.c +++ b/src/scalepoint.c @@ -27,7 +27,7 @@ #include "slv2/value.h" #include "slv2_internal.h" -/* private - ownership of value and label is taken */ +/** Ownership of value and label is taken */ SLV2ScalePoint slv2_scale_point_new(SLV2Value value, SLV2Value label) { @@ -37,7 +37,6 @@ slv2_scale_point_new(SLV2Value value, SLV2Value label) return point; } -/* private */ void slv2_scale_point_free(SLV2ScalePoint point) { @@ -46,12 +45,14 @@ slv2_scale_point_free(SLV2ScalePoint point) free(point); } +SLV2_API SLV2Value slv2_scale_point_get_value(SLV2ScalePoint p) { return p->value; } +SLV2_API SLV2Value slv2_scale_point_get_label(SLV2ScalePoint p) { |