Mercurial > hg > piper-cpp
diff bits/PluginHandleMapper.h @ 11:aa61cb5c5754
Use mapper
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 17 May 2016 11:15:25 +0100 |
parents | c8451896c40e |
children | f379b0e9a8e1 |
line wrap: on
line diff
--- a/bits/PluginHandleMapper.h Tue May 17 09:58:15 2016 +0100 +++ b/bits/PluginHandleMapper.h Tue May 17 11:15:25 2016 +0100 @@ -46,8 +46,8 @@ NotFound() : runtime_error("plugin or handle not found in mapper") { } }; - virtual uint32_t pluginToHandle(Vamp::Plugin *) = 0; // may throw NotFound - virtual Vamp::Plugin *handleToPlugin(uint32_t) = 0; // may throw NotFound + virtual int32_t pluginToHandle(Vamp::Plugin *) = 0; // may throw NotFound + virtual Vamp::Plugin *handleToPlugin(int32_t) = 0; // may throw NotFound }; }