diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 21:56:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 21:56:29 +0000 |
commit | 809f5ae5999901be62f9d0cc1eb8a2d0f4806780 (patch) | |
tree | 4a2c1a7b344ec0f0a75d6a64ed1177a61822af89 /src/scalepoint.c | |
parent | 372ad8bcac948087bbc261933e38868f533c6708 (diff) | |
download | lilv-809f5ae5999901be62f9d0cc1eb8a2d0f4806780.tar.gz lilv-809f5ae5999901be62f9d0cc1eb8a2d0f4806780.tar.bz2 lilv-809f5ae5999901be62f9d0cc1eb8a2d0f4806780.zip |
Rename slv2 to lilv.
API breakage was proving too much of a hassle, and would be even further of a
mess after release and packaging. Best to make a clean break now, and fix
installation to support parallel installs and prevent this kind of problem in
the future.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3217 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/scalepoint.c')
-rw-r--r-- | src/scalepoint.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/scalepoint.c b/src/scalepoint.c index 857b53e..aa27d04 100644 --- a/src/scalepoint.c +++ b/src/scalepoint.c @@ -14,36 +14,36 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "slv2_internal.h" +#include "lilv_internal.h" /** Ownership of value and label is taken */ -SLV2ScalePoint -slv2_scale_point_new(SLV2Value value, SLV2Value label) +LilvScalePoint +lilv_scale_point_new(LilvValue value, LilvValue label) { - SLV2ScalePoint point = (SLV2ScalePoint)malloc(sizeof(struct _SLV2ScalePoint)); + LilvScalePoint point = (LilvScalePoint)malloc(sizeof(struct _LilvScalePoint)); point->value = value; point->label = label; return point; } void -slv2_scale_point_free(SLV2ScalePoint point) +lilv_scale_point_free(LilvScalePoint point) { - slv2_value_free(point->value); - slv2_value_free(point->label); + lilv_value_free(point->value); + lilv_value_free(point->label); free(point); } -SLV2_API -SLV2Value -slv2_scale_point_get_value(SLV2ScalePoint p) +LILV_API +LilvValue +lilv_scale_point_get_value(LilvScalePoint p) { return p->value; } -SLV2_API -SLV2Value -slv2_scale_point_get_label(SLV2ScalePoint p) +LILV_API +LilvValue +lilv_scale_point_get_label(LilvScalePoint p) { return p->label; } |