summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/ruby/qmf.rb
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-08-24 15:55:14 +0000
committerTed Ross <tross@apache.org>2009-08-24 15:55:14 +0000
commit66e450e61e2e6fc4b31126ddd21d1778550470ca (patch)
treef262b37a8fc4b3d9ce6d3f029bb19bc9b1c03535 /cpp/bindings/qmf/ruby/qmf.rb
parentd2b870c0bb6f1b048d1cdf6911f9b23a0153a634 (diff)
downloadqpid-python-66e450e61e2e6fc4b31126ddd21d1778550470ca.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/qpid@807288 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/ruby/qmf.rb')
-rw-r--r--cpp/bindings/qmf/ruby/qmf.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/bindings/qmf/ruby/qmf.rb b/cpp/bindings/qmf/ruby/qmf.rb
index f3915e9c02..79b18423db 100644
--- a/cpp/bindings/qmf/ruby/qmf.rb
+++ b/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