diff options
author | David Robillard <d@drobilla.net> | 2012-03-17 03:39:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-17 03:39:22 +0000 |
commit | b9fb72a5b1344e6ebf232c575b6723f543a85891 (patch) | |
tree | 59fe2fb899a35eede7c966ccf0f99061b3740dab /lv2/lv2plug.in/ns/ext/atom/atom-test.c | |
parent | e6a03cf2be6f38ce6ccd960e66d7eac09061d958 (diff) | |
download | lv2-b9fb72a5b1344e6ebf232c575b6723f543a85891.tar.xz |
Update forge method names.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/atom/atom-test.c')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/atom/atom-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/atom-test.c b/lv2/lv2plug.in/ns/ext/atom/atom-test.c index 0fd1114..931fde1 100644 --- a/lv2/lv2plug.in/ns/ext/atom/atom-test.c +++ b/lv2/lv2plug.in/ns/ext/atom/atom-test.c @@ -95,7 +95,7 @@ main() // eg_one = (Int)1 lv2_atom_forge_property_head(&forge, eg_one, 0); LV2_Atom_Int* one = (LV2_Atom_Int*)lv2_atom_forge_deref( - &forge, lv2_atom_forge_int32(&forge, 1)); + &forge, lv2_atom_forge_int(&forge, 1)); if (one->body != 1) { return test_fail("%d != 1\n", one->body); } @@ -103,7 +103,7 @@ main() // eg_two = (Long)2 lv2_atom_forge_property_head(&forge, eg_two, 0); LV2_Atom_Long* two = (LV2_Atom_Long*)lv2_atom_forge_deref( - &forge, lv2_atom_forge_int64(&forge, 2)); + &forge, lv2_atom_forge_long(&forge, 2)); if (two->body != 2) { return test_fail("%ld != 2\n", two->body); } @@ -242,7 +242,7 @@ main() &forge, lv2_atom_forge_vector_head( &forge, &vec_frame, sizeof(int32_t), forge.Int)); for (unsigned i = 0; i < sizeof(elems) / sizeof(int32_t); ++i) { - lv2_atom_forge_int32(&forge, elems[i]); + lv2_atom_forge_int(&forge, elems[i]); } lv2_atom_forge_pop(&forge, &vec_frame); if (!lv2_atom_equals(&vector->atom, &vector2->atom)) { @@ -255,9 +255,9 @@ main() LV2_Atom_Sequence* seq = (LV2_Atom_Sequence*)lv2_atom_forge_deref( &forge, lv2_atom_forge_sequence_head(&forge, &seq_frame, 0)); lv2_atom_forge_frame_time(&forge, 0); - lv2_atom_forge_int32(&forge, 1); + lv2_atom_forge_int(&forge, 1); lv2_atom_forge_frame_time(&forge, 1); - lv2_atom_forge_int32(&forge, 2); + lv2_atom_forge_int(&forge, 2); lv2_atom_forge_pop(&forge, &seq_frame); lv2_atom_forge_pop(&forge, &obj_frame); |