Mercurial > hg > piper-cpp
comparison utilities/json-cli.cpp @ 10:c8451896c40e
Some conversions for plugin handles
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 17 May 2016 09:58:15 +0100 |
parents | 2dc705f24b9b |
children | aa61cb5c5754 |
comparison
equal
deleted
inserted
replaced
9:197440dc8296 | 10:c8451896c40e |
---|---|
10 | 10 |
11 using namespace std; | 11 using namespace std; |
12 using namespace Vamp; | 12 using namespace Vamp; |
13 using namespace Vamp::HostExt; | 13 using namespace Vamp::HostExt; |
14 using namespace json11; | 14 using namespace json11; |
15 using namespace vampipe; | |
15 | 16 |
16 static map<uint32_t, Plugin *> loadedPlugins; | 17 static map<uint32_t, Plugin *> loadedPlugins; |
17 static set<uint32_t> initialisedPlugins; | 18 static set<uint32_t> initialisedPlugins; |
18 | 19 |
19 static uint32_t nextHandle = 1; // plugin handle type must fit in JSON number | 20 static uint32_t nextHandle = 1; // plugin handle type must fit in JSON number |