aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-09 04:59:58 +0000
committerDavid Robillard <d@drobilla.net>2011-11-09 04:59:58 +0000
commitb29d88df3820ad01ffd0d603e77c99e058178292 (patch)
tree6c64fc521a94afa28a671605c4a6d5c799080279 /ext/atom.lv2
parent065033bfaa32cc5a9c6fcc2a2218ceeff0d9eebd (diff)
downloadlv2-b29d88df3820ad01ffd0d603e77c99e058178292.tar.xz
Clean up URID extension.
Diffstat (limited to 'ext/atom.lv2')
-rw-r--r--ext/atom.lv2/forge.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/atom.lv2/forge.h b/ext/atom.lv2/forge.h
index b42b384..e8f5d40 100644
--- a/ext/atom.lv2/forge.h
+++ b/ext/atom.lv2/forge.h
@@ -35,12 +35,12 @@ typedef struct {
} LV2_Atom_Forge;
static inline LV2_Atom_Forge*
-lv2_atom_forge_new(LV2_URID_Mapper* mapper)
+lv2_atom_forge_new(LV2_URID_Map* map)
{
LV2_Atom_Forge* forge = (LV2_Atom_Forge*)malloc(sizeof(LV2_Atom_Forge));
- forge->ID = mapper->map_uri(mapper->handle, LV2_ATOM_URI "#ID");
- forge->Message = mapper->map_uri(mapper->handle, LV2_ATOM_URI "#Message");
- forge->Property = mapper->map_uri(mapper->handle, LV2_ATOM_URI "#Property");
+ forge->ID = map->map(map->handle, LV2_ATOM_URI "#ID");
+ forge->Message = map->map(map->handle, LV2_ATOM_URI "#Message");
+ forge->Property = map->map(map->handle, LV2_ATOM_URI "#Property");
return forge;
}