diff options
author | David Robillard <d@drobilla.net> | 2011-02-11 01:07:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-11 01:07:33 +0000 |
commit | ad69b46ed592c3f8b680f29653702b03b0559963 (patch) | |
tree | 1c4e355074dddbc9c7795c0402b4c11669cc05f7 /src/scalepoint.c | |
parent | 7cc22c3fd0ee9f931a43d6f54be2b3be1cb09050 (diff) | |
download | lilv-ad69b46ed592c3f8b680f29653702b03b0559963.tar.gz lilv-ad69b46ed592c3f8b680f29653702b03b0559963.tar.bz2 lilv-ad69b46ed592c3f8b680f29653702b03b0559963.zip |
Use `static' and `SLV2_API' explicitly/consistently.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
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) { |