PROTON-781: Added Reactor and Task to the ClassWrapper
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/67743474 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/67743474 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/67743474 Branch: refs/heads/cjansen-cpp-client Commit: 67743474dd1f441facf8ec2e282b7611f899a01a Parents: 36380c9 Author: Darryl L. Pierce <[email protected]> Authored: Wed Mar 4 10:54:54 2015 -0500 Committer: Darryl L. Pierce <[email protected]> Committed: Thu Jun 18 16:28:44 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/ruby/lib/util/class_wrapper.rb | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/67743474/proton-c/bindings/ruby/lib/util/class_wrapper.rb ---------------------------------------------------------------------- diff --git a/proton-c/bindings/ruby/lib/util/class_wrapper.rb b/proton-c/bindings/ruby/lib/util/class_wrapper.rb index 134f655..dec16e9 100644 --- a/proton-c/bindings/ruby/lib/util/class_wrapper.rb +++ b/proton-c/bindings/ruby/lib/util/class_wrapper.rb @@ -36,6 +36,8 @@ module Qpid::Proton::Util "pn_delivery" => proc {|x| Qpid::Proton::Delivery.wrap(Cproton.pn_cast_pn_delivery(x))}, "pn_transport" => proc {|x| Qpid::Proton::Transport.wrap(Cproton.pn_cast_pn_transport(x))}, "pn_selectable" => proc {|x| Qpid::Proton::Selectable.wrap(Cproton.pn_cast_pn_selectable(x))}, + "pn_reactor" => proc {|x| Qpid::Proton::Reactor::Reactor.wrap(Cproton.pn_cast_pn_reactor(x))}, + "pn_task" => proc {|x| Qpid::Proton::Reactor::Task.wrap(Cproton.pn_cast_pn_task(x))}, } def class_wrapper(clazz, c_impl, &block) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
