aboutsummaryrefslogtreecommitdiffstats
path: root/ext/atom.lv2/forge.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/atom.lv2/forge.h')
-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;
}