Mercurial > hg > piper-cpp
comparison vamp-support/PluginHandleMapper.h @ 81:c6b6051b1b1a
Build rpcrequest types. May be a misdirection
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 11 Oct 2016 16:25:52 +0100 |
parents | 81e1c48e97f9 |
children | 427c4c725085 |
comparison
equal
deleted
inserted
replaced
80:d9e85a65d45b | 81:c6b6051b1b1a |
---|---|
58 */ | 58 */ |
59 | 59 |
60 class PluginHandleMapper | 60 class PluginHandleMapper |
61 { | 61 { |
62 public: | 62 public: |
63 typedef int32_t Handle; | 63 typedef uint32_t Handle; // unsigned to avoid undefined behaviour on possible wrap |
64 const Handle INVALID_HANDLE = 0; | 64 const Handle INVALID_HANDLE = 0; |
65 | 65 |
66 virtual ~PluginHandleMapper() noexcept { } | 66 virtual ~PluginHandleMapper() noexcept { } |
67 | 67 |
68 /** | 68 /** |