summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-03 02:30:57 +0000
committerDavid Robillard <d@drobilla.net>2009-06-03 02:30:57 +0000
commit6488ffb1a3fedb87b41add3a2a78a953755c949a (patch)
treeac2c564c1f93b207940419aea265022d48c71240 /src/common
parent69ad5f645fbc1ac5c4f886a7f2daa6c354b4afe3 (diff)
downloadingen-6488ffb1a3fedb87b41add3a2a78a953755c949a.tar.gz
ingen-6488ffb1a3fedb87b41add3a2a78a953755c949a.tar.bz2
ingen-6488ffb1a3fedb87b41add3a2a78a953755c949a.zip
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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/DataType.hpp3
1 files changed, 2 insertions, 1 deletions
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); }