diff options
| author | Ted Ross <tross@apache.org> | 2009-08-24 15:55:14 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-08-24 15:55:14 +0000 |
| commit | 77eabe05e21ce283b9dd749de2952f0115b394e2 (patch) | |
| tree | f32e1c0a73a1eacc4d98c6da47cddcffe48c77fe /qpid/cpp/bindings/qmf/ruby/qmf.rb | |
| parent | e84cfeafcc8e767842dd5b851870e0e29dd582b8 (diff) | |
| download | qpid-python-77eabe05e21ce283b9dd749de2952f0115b394e2.tar.gz | |
Added QMF tests for method invocation and numeric types.
Improved the swig typemaps to handle different numeric cases.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@807288 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/ruby/qmf.rb')
| -rw-r--r-- | qpid/cpp/bindings/qmf/ruby/qmf.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qmf/ruby/qmf.rb b/qpid/cpp/bindings/qmf/ruby/qmf.rb index f3915e9c02..79b18423db 100644 --- a/qpid/cpp/bindings/qmf/ruby/qmf.rb +++ b/qpid/cpp/bindings/qmf/ruby/qmf.rb @@ -174,12 +174,19 @@ module Qmf @impl = Qmfengine::ObjectId.new end end + def object_num_high return @impl.getObjectNumHi end + def object_num_low return @impl.getObjectNumLo end + + def ==(other) + return (@impl.getObjectNumHi == other.impl.getObjectNumHi) && + (@impl.getObjectNumLo == other.impl.getObjectNumLo) + end end class Arguments |
