qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [2/2] qpid-proton git commit: PROTON-1919: [Python] Remove unused parts of the proton API - Completely removed messenger from swig generated bindings - Changed bindings so that url is only used by ruby which still supports it (it is deprecated though)
Date Sun, 26 Aug 2018 04:27:08 GMT
PROTON-1919: [Python] Remove unused parts of the proton API
- Completely removed messenger from swig generated bindings
- Changed bindings so that url is only used by ruby which still supports
  it (it is deprecated though)


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/60c976f7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/60c976f7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/60c976f7

Branch: refs/heads/master
Commit: 60c976f7d9df8fbb0eccfd28cf1f9992e9f3bfb7
Parents: d1bef19
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Sun Aug 26 00:15:52 2018 -0400
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Sun Aug 26 00:15:52 2018 -0400

----------------------------------------------------------------------
 c/include/proton/cproton.i | 102 ----------------------------------------
 ruby/cproton.i             |   2 +
 2 files changed, 2 insertions(+), 102 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/60c976f7/c/include/proton/cproton.i
----------------------------------------------------------------------
diff --git a/c/include/proton/cproton.i b/c/include/proton/cproton.i
index 31e5b77..430deca 100644
--- a/c/include/proton/cproton.i
+++ b/c/include/proton/cproton.i
@@ -919,107 +919,6 @@ typedef unsigned long int uintptr_t;
 
 %include "proton/sasl.h"
 
-%contract pn_messenger_name(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
- ensure:
-  pn_messenger_name != NULL;
-}
-
-%contract pn_messenger_set_timeout(pn_messenger_t *messenger, int timeout)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_get_timeout(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_free(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_errno(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_error(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_start(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_stop(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_subscribe(pn_messenger_t *messenger, const char *source)
-{
- require:
-  messenger != NULL;
-  source != NULL;
-}
-
-%contract pn_messenger_put(pn_messenger_t *messenger, pn_message_t *msg)
-{
- require:
-  messenger != NULL;
-  msg != NULL;
-}
-
-%contract pn_messenger_send(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_recv(pn_messenger_t *messenger, int n)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_get(pn_messenger_t *messenger, pn_message_t *msg)
-{
- require:
-  messenger != NULL;
-}
-
-%contract pn_messenger_outgoing(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
- ensure:
-  pn_messenger_outgoing >= 0;
-}
-
-%contract pn_messenger_incoming(pn_messenger_t *messenger)
-{
- require:
-  messenger != NULL;
- ensure:
-  pn_messenger_incoming >= 0;
-}
-
-
-%include "proton/messenger.h"
-
 %include "proton/selectable.h"
 
 %include "proton/ssl.h"
@@ -1068,7 +967,6 @@ typedef unsigned long int uintptr_t;
 %include "proton/connection_driver.h"
 
 
-%include "proton/url.h"
 %include "proton/reactor.h"
 %include "proton/handlers.h"
 %include "proton/cid.h"

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/60c976f7/ruby/cproton.i
----------------------------------------------------------------------
diff --git a/ruby/cproton.i b/ruby/cproton.i
index 1de88f0..317641a 100644
--- a/ruby/cproton.i
+++ b/ruby/cproton.i
@@ -673,3 +673,5 @@ int pn_ssl_get_peer_hostname(pn_ssl_t *ssl, char *OUTPUT, size_t *OUTPUT_SIZE);
 %}
 
 %include "proton/cproton.i"
+
+%include "proton/url.h"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message