qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcpie...@apache.org
Subject svn commit: r1539656 - in /qpid/proton/trunk/proton-c/bindings/ruby: ChangeLog ruby.i
Date Thu, 07 Nov 2013 14:27:57 GMT
Author: mcpierce
Date: Thu Nov  7 14:27:57 2013
New Revision: 1539656

URL: http://svn.apache.org/r1539656
Log:
PROTON-448: Backing out the Ruby data change.

Seems it's having a separate problem with strings not properly encoding.
The tests started to fail, so I'll pull this until I can fix them.

Modified:
    qpid/proton/trunk/proton-c/bindings/ruby/ChangeLog
    qpid/proton/trunk/proton-c/bindings/ruby/ruby.i

Modified: qpid/proton/trunk/proton-c/bindings/ruby/ChangeLog
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/ruby/ChangeLog?rev=1539656&r1=1539655&r2=1539656&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/ruby/ChangeLog (original)
+++ qpid/proton/trunk/proton-c/bindings/ruby/ChangeLog Thu Nov  7 14:27:57 2013
@@ -1,7 +1,5 @@
 Version 0.6:
 	* PROTON-427: Removed the flag argument from Messenger.settle.
-	* PROTON-448: Ruby bindings need to have their set calls updated to
-                      properly map values to pn_data_t*
 
 version 0.5:
 	* Duck typed the Array class to work with Qpid::Proton::Data.

Modified: qpid/proton/trunk/proton-c/bindings/ruby/ruby.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/ruby/ruby.i?rev=1539656&r1=1539655&r2=1539656&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/ruby/ruby.i (original)
+++ qpid/proton/trunk/proton-c/bindings/ruby/ruby.i Thu Nov  7 14:27:57 2013
@@ -345,24 +345,4 @@ bool pn_ssl_get_protocol_name(pn_ssl_t *
 %ignore pn_ssl_get_protocol_name;
 
 
-ssize_t pn_data_decode(pn_data_t *data, char *STRING, size_t LENGTH);
-%ignore pn_data_decode;
-
-%rename(pn_data_encode) wrap_pn_data_encode;
-%inline %{
-  int wrap_pn_data_encode(pn_data_t *data, char *OUTPUT, size_t *OUTPUT_SIZE) {
-    ssize_t sz = pn_data_encode(data, OUTPUT, *OUTPUT_SIZE);
-    if (sz >= 0) {
-      *OUTPUT_SIZE = sz;
-    } else {
-      *OUTPUT_SIZE = 0;
-    }
-    return sz;
-  }
-%}
-%ignore pn_data_encode;
-
-int pn_data_format(pn_data_t *data, char *OUTPUT, size_t *OUTPUT_SIZE);
-%ignore pn_data_format;
-
 %include "proton/cproton.i"



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


Mime
View raw message