From 6488ffb1a3fedb87b41add3a2a78a953755c949a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 3 Jun 2009 02:30:57 +0000 Subject: Clean up and shave some overhead from port value broadcasting. Clean up duplex port code and document weird semantics. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2075 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/DataType.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/interface/DataType.hpp b/src/common/interface/DataType.hpp index 5e8e26a1..aae7f52a 100644 --- a/src/common/interface/DataType.hpp +++ b/src/common/interface/DataType.hpp @@ -58,7 +58,8 @@ public: : _symbol(symbol) {} - inline const char* uri() const { return type_uri(_symbol); } + inline const char* uri() const { return type_uri(_symbol); } + inline Symbol symbol() const { return _symbol; } inline bool operator==(const Symbol& symbol) const { return (_symbol == symbol); } inline bool operator!=(const Symbol& symbol) const { return (_symbol != symbol); } -- cgit v1.2.1