qpid_messaging 1.35.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/cqpid/cqpid.cpp +242 -162
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27e25e910934b6d144367158db2263b4e22165ce
4
- data.tar.gz: 82f1ae4b8a1ffefa8b16532d942e2e1d9c9a7b95
3
+ metadata.gz: e2495586a39dc8bdeba79322f46a73d20786f7a2
4
+ data.tar.gz: c812ade866405ab00afcda7688812f00d8ab5038
5
5
  SHA512:
6
- metadata.gz: 550fe9e5d6ba812d3170a2fb99260b940e8b6d396481b2d7e00f1094e6d65d77c26b3e8048e46b1d9ba5a7baad1912ed4a67fad3221b0e3d1f0727202992be73
7
- data.tar.gz: a5d435eb9c8cb87507dbc0f67ade7109f75e7d6e6fd78ce277f80537072c5998e751bdcd3ad28d9d1aea2b45a539d4613b3c13634d044d9c225ec9a7d1ba509e
6
+ metadata.gz: f770cf0a1ba351389bce0932d5e4b7aa21bb8bbebc061995edfab4f91ea3f2cfa4d62815f58989e2d37d0bd0daf655e71ae88ae76160f720a134037b4b3ad1f8
7
+ data.tar.gz: a8f47436088f8d1cfd0c2917387af07fa21b8934652801b8e3417803f2dff53c6e3f899693fed03861a965d3180a3d09f6f0125889188fe6e10fa1e2de7184dc
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 3.0.7
3
+ * Version 3.0.11
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -8,7 +8,11 @@
8
8
  * interface file instead.
9
9
  * ----------------------------------------------------------------------------- */
10
10
 
11
+
12
+ #ifndef SWIGRUBY
11
13
  #define SWIGRUBY
14
+ #endif
15
+
12
16
 
13
17
 
14
18
  #ifdef __cplusplus
@@ -101,9 +105,11 @@ template <typename T> T SwigValueInit() {
101
105
  #endif
102
106
 
103
107
  /* exporting methods */
104
- #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
105
- # ifndef GCC_HASCLASSVISIBILITY
106
- # define GCC_HASCLASSVISIBILITY
108
+ #if defined(__GNUC__)
109
+ # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
110
+ # ifndef GCC_HASCLASSVISIBILITY
111
+ # define GCC_HASCLASSVISIBILITY
112
+ # endif
107
113
  # endif
108
114
  #endif
109
115
 
@@ -223,9 +229,11 @@ template <typename T> T SwigValueInit() {
223
229
  #endif
224
230
 
225
231
  /* exporting methods */
226
- #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
227
- # ifndef GCC_HASCLASSVISIBILITY
228
- # define GCC_HASCLASSVISIBILITY
232
+ #if defined(__GNUC__)
233
+ # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
234
+ # ifndef GCC_HASCLASSVISIBILITY
235
+ # define GCC_HASCLASSVISIBILITY
236
+ # endif
229
237
  # endif
230
238
  #endif
231
239
 
@@ -775,16 +783,16 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
775
783
  char d = *(c++);
776
784
  unsigned char uu;
777
785
  if ((d >= '0') && (d <= '9'))
778
- uu = ((d - '0') << 4);
786
+ uu = (unsigned char)((d - '0') << 4);
779
787
  else if ((d >= 'a') && (d <= 'f'))
780
- uu = ((d - ('a'-10)) << 4);
788
+ uu = (unsigned char)((d - ('a'-10)) << 4);
781
789
  else
782
790
  return (char *) 0;
783
791
  d = *(c++);
784
792
  if ((d >= '0') && (d <= '9'))
785
- uu |= (d - '0');
793
+ uu |= (unsigned char)(d - '0');
786
794
  else if ((d >= 'a') && (d <= 'f'))
787
- uu |= (d - ('a'-10));
795
+ uu |= (unsigned char)(d - ('a'-10));
788
796
  else
789
797
  return (char *) 0;
790
798
  *u = uu;
@@ -1366,7 +1374,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
1366
1374
  #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1367
1375
  #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Ruby_NewPointerObj(ptr, type, flags)
1368
1376
  #define SWIG_AcquirePtr(ptr, own) SWIG_Ruby_AcquirePtr(ptr, own)
1369
- #define swig_owntype ruby_owntype
1377
+ #define swig_owntype swig_ruby_owntype
1370
1378
 
1371
1379
  /* for raw packed data */
1372
1380
  #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
@@ -1590,22 +1598,24 @@ SWIG_Ruby_MangleStr(VALUE obj)
1590
1598
  }
1591
1599
 
1592
1600
  /* Acquire a pointer value */
1593
- typedef void (*ruby_owntype)(void*);
1601
+ typedef struct {
1602
+ void (*datafree)(void *);
1603
+ int own;
1604
+ } swig_ruby_owntype;
1594
1605
 
1595
- SWIGRUNTIME ruby_owntype
1596
- SWIG_Ruby_AcquirePtr(VALUE obj, ruby_owntype own) {
1606
+ SWIGRUNTIME swig_ruby_owntype
1607
+ SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) {
1608
+ swig_ruby_owntype oldown = {0, 0};
1597
1609
  if (obj) {
1598
- ruby_owntype oldown = RDATA(obj)->dfree;
1599
- RDATA(obj)->dfree = own;
1600
- return oldown;
1601
- } else {
1602
- return 0;
1610
+ oldown.datafree = RDATA(obj)->dfree;
1611
+ RDATA(obj)->dfree = own.datafree;
1603
1612
  }
1613
+ return oldown;
1604
1614
  }
1605
1615
 
1606
1616
  /* Convert a pointer value */
1607
1617
  SWIGRUNTIME int
1608
- SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, ruby_owntype *own)
1618
+ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, swig_ruby_owntype *own)
1609
1619
  {
1610
1620
  char *c;
1611
1621
  swig_cast_info *tc;
@@ -1613,7 +1623,8 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1613
1623
 
1614
1624
  /* Grab the pointer */
1615
1625
  if (NIL_P(obj)) {
1616
- *ptr = 0;
1626
+ if (ptr)
1627
+ *ptr = 0;
1617
1628
  return SWIG_OK;
1618
1629
  } else {
1619
1630
  if (TYPE(obj) != T_DATA) {
@@ -1622,7 +1633,10 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1622
1633
  Data_Get_Struct(obj, void, vptr);
1623
1634
  }
1624
1635
 
1625
- if (own) *own = RDATA(obj)->dfree;
1636
+ if (own) {
1637
+ own->datafree = RDATA(obj)->dfree;
1638
+ own->own = 0;
1639
+ }
1626
1640
 
1627
1641
  /* Check to see if the input object is giving up ownership
1628
1642
  of the underlying C struct or C++ object. If so then we
@@ -1657,8 +1671,6 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1657
1671
  /* The object has already been deleted */
1658
1672
  return SWIG_ObjectPreviouslyDeletedError;
1659
1673
  }
1660
- *ptr = vptr;
1661
- return SWIG_OK;
1662
1674
  }
1663
1675
  }
1664
1676
  if ((c = SWIG_MangleStr(obj)) == NULL) {
@@ -1668,12 +1680,23 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
1668
1680
  if (!tc) {
1669
1681
  return SWIG_ERROR;
1670
1682
  } else {
1671
- int newmemory = 0;
1672
- *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
1673
- assert(!newmemory); /* newmemory handling not yet implemented */
1683
+ if (ptr) {
1684
+ if (tc->type == ty) {
1685
+ *ptr = vptr;
1686
+ } else {
1687
+ int newmemory = 0;
1688
+ *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
1689
+ if (newmemory == SWIG_CAST_NEW_MEMORY) {
1690
+ assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1691
+ if (own)
1692
+ own->own = own->own | SWIG_CAST_NEW_MEMORY;
1693
+ }
1694
+ }
1695
+ }
1674
1696
  }
1675
1697
  } else {
1676
- *ptr = vptr;
1698
+ if (ptr)
1699
+ *ptr = vptr;
1677
1700
  }
1678
1701
 
1679
1702
  return SWIG_OK;
@@ -1835,7 +1858,7 @@ static VALUE mCqpid;
1835
1858
  #define SWIG_RUBY_THREAD_END_BLOCK
1836
1859
 
1837
1860
 
1838
- #define SWIGVERSION 0x030007
1861
+ #define SWIGVERSION 0x030011
1839
1862
  #define SWIG_VERSION SWIGVERSION
1840
1863
 
1841
1864
 
@@ -1909,7 +1932,7 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
1909
1932
  if (cptr) {
1910
1933
  if (alloc) {
1911
1934
  if (*alloc == SWIG_NEWOBJ) {
1912
- *cptr = reinterpret_cast< char* >(memcpy((new char[size]), cstr, sizeof(char)*(size)));
1935
+ *cptr = reinterpret_cast< char* >(memcpy(new char[size], cstr, sizeof(char)*(size)));
1913
1936
  } else {
1914
1937
  *cptr = cstr;
1915
1938
  *alloc = SWIG_OLDOBJ;
@@ -2009,7 +2032,7 @@ SWIG_ruby_failed(void)
2009
2032
  }
2010
2033
 
2011
2034
 
2012
- /*@SWIG:/usr/share/swig/3.0.7/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2035
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2013
2036
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
2014
2037
  {
2015
2038
  VALUE obj = args[0];
@@ -2038,16 +2061,6 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
2038
2061
  }
2039
2062
 
2040
2063
 
2041
- SWIGINTERNINLINE int
2042
- SWIG_AsVal_size_t (VALUE obj, size_t *val)
2043
- {
2044
- unsigned long v;
2045
- int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2046
- if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2047
- return res;
2048
- }
2049
-
2050
-
2051
2064
  #include <limits.h>
2052
2065
  #if !defined(SWIG_NO_LLONG_MAX)
2053
2066
  # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
@@ -2058,7 +2071,64 @@ SWIG_AsVal_size_t (VALUE obj, size_t *val)
2058
2071
  #endif
2059
2072
 
2060
2073
 
2061
- /*@SWIG:/usr/share/swig/3.0.7/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2074
+ #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
2075
+ # define SWIG_LONG_LONG_AVAILABLE
2076
+ #endif
2077
+
2078
+
2079
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2080
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2081
+ SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE *args)
2082
+ {
2083
+ VALUE obj = args[0];
2084
+ VALUE type = TYPE(obj);
2085
+ long long *res = (long long *)(args[1]);
2086
+ *res = type == T_FIXNUM ? NUM2ULL(obj) : rb_big2ull(obj);
2087
+ return obj;
2088
+ }
2089
+ /*@SWIG@*/
2090
+
2091
+ SWIGINTERN int
2092
+ SWIG_AsVal_unsigned_SS_long_SS_long (VALUE obj, unsigned long long *val)
2093
+ {
2094
+ VALUE type = TYPE(obj);
2095
+ if ((type == T_FIXNUM) || (type == T_BIGNUM)) {
2096
+ unsigned long long v;
2097
+ VALUE a[2];
2098
+ a[0] = obj;
2099
+ a[1] = (VALUE)(&v);
2100
+ if (rb_rescue(RUBY_METHOD_FUNC(SWIG_AUX_NUM2ULL), (VALUE)a, RUBY_METHOD_FUNC(SWIG_ruby_failed), 0) != Qnil) {
2101
+ if (val) *val = v;
2102
+ return SWIG_OK;
2103
+ }
2104
+ }
2105
+ return SWIG_TypeError;
2106
+ }
2107
+ #endif
2108
+
2109
+
2110
+ SWIGINTERNINLINE int
2111
+ SWIG_AsVal_size_t (VALUE obj, size_t *val)
2112
+ {
2113
+ int res = SWIG_TypeError;
2114
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2115
+ if (sizeof(size_t) <= sizeof(unsigned long)) {
2116
+ #endif
2117
+ unsigned long v;
2118
+ res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2119
+ if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2120
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2121
+ } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
2122
+ unsigned long long v;
2123
+ res = SWIG_AsVal_unsigned_SS_long_SS_long (obj, val ? &v : 0);
2124
+ if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2125
+ }
2126
+ #endif
2127
+ return res;
2128
+ }
2129
+
2130
+
2131
+ /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2062
2132
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2063
2133
  {
2064
2134
  VALUE obj = args[0];
@@ -2133,10 +2203,28 @@ SWIG_From_unsigned_SS_long (unsigned long value)
2133
2203
  }
2134
2204
 
2135
2205
 
2206
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2207
+ SWIGINTERNINLINE VALUE
2208
+ SWIG_From_unsigned_SS_long_SS_long (unsigned long long value)
2209
+ {
2210
+ return ULL2NUM(value);
2211
+ }
2212
+ #endif
2213
+
2214
+
2136
2215
  SWIGINTERNINLINE VALUE
2137
2216
  SWIG_From_size_t (size_t value)
2138
2217
  {
2139
- return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2218
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2219
+ if (sizeof(size_t) <= sizeof(unsigned long)) {
2220
+ #endif
2221
+ return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2222
+ #ifdef SWIG_LONG_LONG_AVAILABLE
2223
+ } else {
2224
+ /* assume sizeof(size_t) <= sizeof(unsigned long long) */
2225
+ return SWIG_From_unsigned_SS_long_SS_long (static_cast< unsigned long long >(value));
2226
+ }
2227
+ #endif
2140
2228
  }
2141
2229
 
2142
2230
  SWIGINTERN mystr qpid_messaging_Message_getContentPtr(qpid::messaging::Message *self){
@@ -2845,22 +2933,20 @@ fail:
2845
2933
  }
2846
2934
 
2847
2935
 
2848
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
2849
2936
  SWIGINTERN VALUE
2850
- _wrap_Address_allocate(VALUE self) {
2937
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
2938
+ _wrap_Address_allocate(VALUE self)
2851
2939
  #else
2852
- SWIGINTERN VALUE
2853
- _wrap_Address_allocate(int argc, VALUE *argv, VALUE self) {
2940
+ _wrap_Address_allocate(int argc, VALUE *argv, VALUE self)
2854
2941
  #endif
2855
-
2856
-
2857
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Address);
2942
+ {
2943
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Address);
2858
2944
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
2859
- rb_obj_call_init(vresult, argc, argv);
2945
+ rb_obj_call_init(vresult, argc, argv);
2860
2946
  #endif
2861
- return vresult;
2862
- }
2863
-
2947
+ return vresult;
2948
+ }
2949
+
2864
2950
 
2865
2951
  SWIGINTERN VALUE
2866
2952
  _wrap_new_Address__SWIG_4(int argc, VALUE *argv, VALUE self) {
@@ -3064,7 +3150,8 @@ fail:
3064
3150
 
3065
3151
 
3066
3152
  SWIGINTERN void
3067
- free_qpid_messaging_Address(qpid::messaging::Address *arg1) {
3153
+ free_qpid_messaging_Address(void *self) {
3154
+ qpid::messaging::Address *arg1 = (qpid::messaging::Address *)self;
3068
3155
  delete arg1;
3069
3156
  }
3070
3157
 
@@ -3836,7 +3923,7 @@ SWIGINTERN VALUE _wrap_Address_getOptions(int nargs, VALUE *args, VALUE self) {
3836
3923
 
3837
3924
  fail:
3838
3925
  Ruby_Format_OverloadedError( argc, 2, "Address.getOptions",
3839
- " qpid::types::Variant::Map & Address.getOptions()\n"
3926
+ " qpid::types::Variant::Map const Address.getOptions()\n"
3840
3927
  " qpid::types::Variant::Map & Address.getOptions()\n");
3841
3928
 
3842
3929
  return Qnil;
@@ -4337,22 +4424,20 @@ fail:
4337
4424
 
4338
4425
  static swig_class SwigClassDuration;
4339
4426
 
4340
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4341
4427
  SWIGINTERN VALUE
4342
- _wrap_Duration_allocate(VALUE self) {
4428
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
4429
+ _wrap_Duration_allocate(VALUE self)
4343
4430
  #else
4344
- SWIGINTERN VALUE
4345
- _wrap_Duration_allocate(int argc, VALUE *argv, VALUE self) {
4431
+ _wrap_Duration_allocate(int argc, VALUE *argv, VALUE self)
4346
4432
  #endif
4347
-
4348
-
4349
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Duration);
4433
+ {
4434
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Duration);
4350
4435
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
4351
- rb_obj_call_init(vresult, argc, argv);
4436
+ rb_obj_call_init(vresult, argc, argv);
4352
4437
  #endif
4353
- return vresult;
4354
- }
4355
-
4438
+ return vresult;
4439
+ }
4440
+
4356
4441
 
4357
4442
  SWIGINTERN VALUE
4358
4443
  _wrap_new_Duration(int argc, VALUE *argv, VALUE self) {
@@ -4752,7 +4837,8 @@ fail:
4752
4837
 
4753
4838
 
4754
4839
  SWIGINTERN void
4755
- free_qpid_messaging_Duration(qpid::messaging::Duration *arg1) {
4840
+ free_qpid_messaging_Duration(void *self) {
4841
+ qpid::messaging::Duration *arg1 = (qpid::messaging::Duration *)self;
4756
4842
  delete arg1;
4757
4843
  }
4758
4844
 
@@ -5683,22 +5769,20 @@ fail:
5683
5769
  }
5684
5770
 
5685
5771
 
5686
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5687
5772
  SWIGINTERN VALUE
5688
- _wrap_Message_allocate(VALUE self) {
5773
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
5774
+ _wrap_Message_allocate(VALUE self)
5689
5775
  #else
5690
- SWIGINTERN VALUE
5691
- _wrap_Message_allocate(int argc, VALUE *argv, VALUE self) {
5776
+ _wrap_Message_allocate(int argc, VALUE *argv, VALUE self)
5692
5777
  #endif
5693
-
5694
-
5695
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Message);
5778
+ {
5779
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Message);
5696
5780
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
5697
- rb_obj_call_init(vresult, argc, argv);
5781
+ rb_obj_call_init(vresult, argc, argv);
5698
5782
  #endif
5699
- return vresult;
5700
- }
5701
-
5783
+ return vresult;
5784
+ }
5785
+
5702
5786
 
5703
5787
  SWIGINTERN VALUE
5704
5788
  _wrap_new_Message__SWIG_4(int argc, VALUE *argv, VALUE self) {
@@ -5892,7 +5976,8 @@ fail:
5892
5976
 
5893
5977
 
5894
5978
  SWIGINTERN void
5895
- free_qpid_messaging_Message(qpid::messaging::Message *arg1) {
5979
+ free_qpid_messaging_Message(void *self) {
5980
+ qpid::messaging::Message *arg1 = (qpid::messaging::Message *)self;
5896
5981
  delete arg1;
5897
5982
  }
5898
5983
 
@@ -8620,7 +8705,7 @@ SWIGINTERN VALUE _wrap_Message_getProperties(int nargs, VALUE *args, VALUE self)
8620
8705
 
8621
8706
  fail:
8622
8707
  Ruby_Format_OverloadedError( argc, 2, "Message.getProperties",
8623
- " qpid::types::Variant::Map & Message.getProperties()\n"
8708
+ " qpid::types::Variant::Map const Message.getProperties()\n"
8624
8709
  " qpid::types::Variant::Map & Message.getProperties()\n");
8625
8710
 
8626
8711
  return Qnil;
@@ -9708,7 +9793,7 @@ SWIGINTERN VALUE _wrap_Message_getContentObject(int nargs, VALUE *args, VALUE se
9708
9793
 
9709
9794
  fail:
9710
9795
  Ruby_Format_OverloadedError( argc, 2, "Message.getContentObject",
9711
- " qpid::types::Variant const & Message.getContentObject()\n"
9796
+ " qpid::types::Variant Message.getContentObject()\n"
9712
9797
  " qpid::types::Variant const & Message.getContentObject()\n");
9713
9798
 
9714
9799
  return Qnil;
@@ -10220,22 +10305,20 @@ fail:
10220
10305
 
10221
10306
  static swig_class SwigClassEncodingException;
10222
10307
 
10223
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10224
10308
  SWIGINTERN VALUE
10225
- _wrap_EncodingException_allocate(VALUE self) {
10309
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
10310
+ _wrap_EncodingException_allocate(VALUE self)
10226
10311
  #else
10227
- SWIGINTERN VALUE
10228
- _wrap_EncodingException_allocate(int argc, VALUE *argv, VALUE self) {
10312
+ _wrap_EncodingException_allocate(int argc, VALUE *argv, VALUE self)
10229
10313
  #endif
10230
-
10231
-
10232
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__EncodingException);
10314
+ {
10315
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__EncodingException);
10233
10316
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
10234
- rb_obj_call_init(vresult, argc, argv);
10317
+ rb_obj_call_init(vresult, argc, argv);
10235
10318
  #endif
10236
- return vresult;
10237
- }
10238
-
10319
+ return vresult;
10320
+ }
10321
+
10239
10322
 
10240
10323
  SWIGINTERN VALUE
10241
10324
  _wrap_new_EncodingException(int argc, VALUE *argv, VALUE self) {
@@ -10362,7 +10445,8 @@ fail:
10362
10445
 
10363
10446
 
10364
10447
  SWIGINTERN void
10365
- free_qpid_messaging_EncodingException(qpid::messaging::EncodingException *arg1) {
10448
+ free_qpid_messaging_EncodingException(void *self) {
10449
+ qpid::messaging::EncodingException *arg1 = (qpid::messaging::EncodingException *)self;
10366
10450
  delete arg1;
10367
10451
  }
10368
10452
 
@@ -11858,22 +11942,20 @@ fail:
11858
11942
  }
11859
11943
 
11860
11944
 
11861
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
11862
11945
  SWIGINTERN VALUE
11863
- _wrap_Receiver_allocate(VALUE self) {
11946
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
11947
+ _wrap_Receiver_allocate(VALUE self)
11864
11948
  #else
11865
- SWIGINTERN VALUE
11866
- _wrap_Receiver_allocate(int argc, VALUE *argv, VALUE self) {
11949
+ _wrap_Receiver_allocate(int argc, VALUE *argv, VALUE self)
11867
11950
  #endif
11868
-
11869
-
11870
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Receiver);
11951
+ {
11952
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Receiver);
11871
11953
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
11872
- rb_obj_call_init(vresult, argc, argv);
11954
+ rb_obj_call_init(vresult, argc, argv);
11873
11955
  #endif
11874
- return vresult;
11875
- }
11876
-
11956
+ return vresult;
11957
+ }
11958
+
11877
11959
 
11878
11960
  SWIGINTERN VALUE
11879
11961
  _wrap_new_Receiver__SWIG_2(int argc, VALUE *argv, VALUE self) {
@@ -12038,7 +12120,8 @@ fail:
12038
12120
 
12039
12121
 
12040
12122
  SWIGINTERN void
12041
- free_qpid_messaging_Receiver(qpid::messaging::Receiver *arg1) {
12123
+ free_qpid_messaging_Receiver(void *self) {
12124
+ qpid::messaging::Receiver *arg1 = (qpid::messaging::Receiver *)self;
12042
12125
  delete arg1;
12043
12126
  }
12044
12127
 
@@ -12634,8 +12717,8 @@ SWIGINTERN VALUE _wrap_Receiver_get(int nargs, VALUE *args, VALUE self) {
12634
12717
 
12635
12718
  fail:
12636
12719
  Ruby_Format_OverloadedError( argc, 4, "Receiver.get",
12637
- " qpid::messaging::Message Receiver.get(qpid::messaging::Message &message, qpid::messaging::Duration timeout)\n"
12638
- " qpid::messaging::Message Receiver.get(qpid::messaging::Message &message)\n"
12720
+ " bool Receiver.get(qpid::messaging::Message &message, qpid::messaging::Duration timeout)\n"
12721
+ " bool Receiver.get(qpid::messaging::Message &message)\n"
12639
12722
  " qpid::messaging::Message Receiver.get(qpid::messaging::Duration timeout)\n"
12640
12723
  " qpid::messaging::Message Receiver.get()\n");
12641
12724
 
@@ -13235,8 +13318,8 @@ SWIGINTERN VALUE _wrap_Receiver_fetch(int nargs, VALUE *args, VALUE self) {
13235
13318
 
13236
13319
  fail:
13237
13320
  Ruby_Format_OverloadedError( argc, 4, "Receiver.fetch",
13238
- " qpid::messaging::Message Receiver.fetch(qpid::messaging::Message &message, qpid::messaging::Duration timeout)\n"
13239
- " qpid::messaging::Message Receiver.fetch(qpid::messaging::Message &message)\n"
13321
+ " bool Receiver.fetch(qpid::messaging::Message &message, qpid::messaging::Duration timeout)\n"
13322
+ " bool Receiver.fetch(qpid::messaging::Message &message)\n"
13240
13323
  " qpid::messaging::Message Receiver.fetch(qpid::messaging::Duration timeout)\n"
13241
13324
  " qpid::messaging::Message Receiver.fetch()\n");
13242
13325
 
@@ -14541,22 +14624,20 @@ fail:
14541
14624
  }
14542
14625
 
14543
14626
 
14544
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
14545
14627
  SWIGINTERN VALUE
14546
- _wrap_Sender_allocate(VALUE self) {
14628
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
14629
+ _wrap_Sender_allocate(VALUE self)
14547
14630
  #else
14548
- SWIGINTERN VALUE
14549
- _wrap_Sender_allocate(int argc, VALUE *argv, VALUE self) {
14631
+ _wrap_Sender_allocate(int argc, VALUE *argv, VALUE self)
14550
14632
  #endif
14551
-
14552
-
14553
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Sender);
14633
+ {
14634
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Sender);
14554
14635
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
14555
- rb_obj_call_init(vresult, argc, argv);
14636
+ rb_obj_call_init(vresult, argc, argv);
14556
14637
  #endif
14557
- return vresult;
14558
- }
14559
-
14638
+ return vresult;
14639
+ }
14640
+
14560
14641
 
14561
14642
  SWIGINTERN VALUE
14562
14643
  _wrap_new_Sender__SWIG_2(int argc, VALUE *argv, VALUE self) {
@@ -14721,7 +14802,8 @@ fail:
14721
14802
 
14722
14803
 
14723
14804
  SWIGINTERN void
14724
- free_qpid_messaging_Sender(qpid::messaging::Sender *arg1) {
14805
+ free_qpid_messaging_Sender(void *self) {
14806
+ qpid::messaging::Sender *arg1 = (qpid::messaging::Sender *)self;
14725
14807
  delete arg1;
14726
14808
  }
14727
14809
 
@@ -16219,22 +16301,20 @@ fail:
16219
16301
  }
16220
16302
 
16221
16303
 
16222
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16223
16304
  SWIGINTERN VALUE
16224
- _wrap_Session_allocate(VALUE self) {
16305
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
16306
+ _wrap_Session_allocate(VALUE self)
16225
16307
  #else
16226
- SWIGINTERN VALUE
16227
- _wrap_Session_allocate(int argc, VALUE *argv, VALUE self) {
16308
+ _wrap_Session_allocate(int argc, VALUE *argv, VALUE self)
16228
16309
  #endif
16229
-
16230
-
16231
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Session);
16310
+ {
16311
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Session);
16232
16312
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
16233
- rb_obj_call_init(vresult, argc, argv);
16313
+ rb_obj_call_init(vresult, argc, argv);
16234
16314
  #endif
16235
- return vresult;
16236
- }
16237
-
16315
+ return vresult;
16316
+ }
16317
+
16238
16318
 
16239
16319
  SWIGINTERN VALUE
16240
16320
  _wrap_new_Session__SWIG_2(int argc, VALUE *argv, VALUE self) {
@@ -16399,7 +16479,8 @@ fail:
16399
16479
 
16400
16480
 
16401
16481
  SWIGINTERN void
16402
- free_qpid_messaging_Session(qpid::messaging::Session *arg1) {
16482
+ free_qpid_messaging_Session(void *self) {
16483
+ qpid::messaging::Session *arg1 = (qpid::messaging::Session *)self;
16403
16484
  delete arg1;
16404
16485
  }
16405
16486
 
@@ -19018,8 +19099,8 @@ SWIGINTERN VALUE _wrap_Session_nextReceiver(int nargs, VALUE *args, VALUE self)
19018
19099
 
19019
19100
  fail:
19020
19101
  Ruby_Format_OverloadedError( argc, 4, "Session.nextReceiver",
19021
- " qpid::messaging::Receiver Session.nextReceiver(qpid::messaging::Receiver &, qpid::messaging::Duration timeout)\n"
19022
- " qpid::messaging::Receiver Session.nextReceiver(qpid::messaging::Receiver &)\n"
19102
+ " bool Session.nextReceiver(qpid::messaging::Receiver &, qpid::messaging::Duration timeout)\n"
19103
+ " bool Session.nextReceiver(qpid::messaging::Receiver &)\n"
19023
19104
  " qpid::messaging::Receiver Session.nextReceiver(qpid::messaging::Duration timeout)\n"
19024
19105
  " qpid::messaging::Receiver Session.nextReceiver()\n");
19025
19106
 
@@ -20871,22 +20952,20 @@ fail:
20871
20952
  }
20872
20953
 
20873
20954
 
20874
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
20875
20955
  SWIGINTERN VALUE
20876
- _wrap_Connection_allocate(VALUE self) {
20956
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
20957
+ _wrap_Connection_allocate(VALUE self)
20877
20958
  #else
20878
- SWIGINTERN VALUE
20879
- _wrap_Connection_allocate(int argc, VALUE *argv, VALUE self) {
20959
+ _wrap_Connection_allocate(int argc, VALUE *argv, VALUE self)
20880
20960
  #endif
20881
-
20882
-
20883
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Connection);
20961
+ {
20962
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__Connection);
20884
20963
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
20885
- rb_obj_call_init(vresult, argc, argv);
20964
+ rb_obj_call_init(vresult, argc, argv);
20886
20965
  #endif
20887
- return vresult;
20888
- }
20889
-
20966
+ return vresult;
20967
+ }
20968
+
20890
20969
 
20891
20970
  SWIGINTERN VALUE
20892
20971
  _wrap_new_Connection__SWIG_5(int argc, VALUE *argv, VALUE self) {
@@ -21106,7 +21185,8 @@ fail:
21106
21185
 
21107
21186
 
21108
21187
  SWIGINTERN void
21109
- free_qpid_messaging_Connection(qpid::messaging::Connection *arg1) {
21188
+ free_qpid_messaging_Connection(void *self) {
21189
+ qpid::messaging::Connection *arg1 = (qpid::messaging::Connection *)self;
21110
21190
  delete arg1;
21111
21191
  }
21112
21192
 
@@ -23002,22 +23082,20 @@ fail:
23002
23082
 
23003
23083
  static swig_class SwigClassFailoverUpdates;
23004
23084
 
23005
- #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
23006
23085
  SWIGINTERN VALUE
23007
- _wrap_FailoverUpdates_allocate(VALUE self) {
23086
+ #ifdef HAVE_RB_DEFINE_ALLOC_FUNC
23087
+ _wrap_FailoverUpdates_allocate(VALUE self)
23008
23088
  #else
23009
- SWIGINTERN VALUE
23010
- _wrap_FailoverUpdates_allocate(int argc, VALUE *argv, VALUE self) {
23089
+ _wrap_FailoverUpdates_allocate(int argc, VALUE *argv, VALUE self)
23011
23090
  #endif
23012
-
23013
-
23014
- VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__FailoverUpdates);
23091
+ {
23092
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_qpid__messaging__FailoverUpdates);
23015
23093
  #ifndef HAVE_RB_DEFINE_ALLOC_FUNC
23016
- rb_obj_call_init(vresult, argc, argv);
23094
+ rb_obj_call_init(vresult, argc, argv);
23017
23095
  #endif
23018
- return vresult;
23019
- }
23020
-
23096
+ return vresult;
23097
+ }
23098
+
23021
23099
 
23022
23100
  SWIGINTERN VALUE
23023
23101
  _wrap_new_FailoverUpdates(int argc, VALUE *argv, VALUE self) {
@@ -23140,14 +23218,16 @@ fail:
23140
23218
 
23141
23219
 
23142
23220
  SWIGINTERN void
23143
- free_qpid_messaging_FailoverUpdates(qpid::messaging::FailoverUpdates *arg1) {
23221
+ free_qpid_messaging_FailoverUpdates(void *self) {
23222
+ qpid::messaging::FailoverUpdates *arg1 = (qpid::messaging::FailoverUpdates *)self;
23144
23223
  delete arg1;
23145
23224
  }
23146
23225
 
23147
23226
  static swig_class SwigClassLoggerOutput;
23148
23227
 
23149
23228
  SWIGINTERN void
23150
- free_qpid_messaging_LoggerOutput(qpid::messaging::LoggerOutput *arg1) {
23229
+ free_qpid_messaging_LoggerOutput(void *self) {
23230
+ qpid::messaging::LoggerOutput *arg1 = (qpid::messaging::LoggerOutput *)self;
23151
23231
  delete arg1;
23152
23232
  }
23153
23233
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qpid_messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Qpid Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2017-05-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Qpid is an enterprise messaging framework.
14
14
  email: dev@qpid.apache.org
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  version: '0'
59
59
  requirements: []
60
60
  rubyforge_project:
61
- rubygems_version: 2.4.8
61
+ rubygems_version: 2.5.2
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Qpid is an enterprise messaging framework.