qpid_proton 0.33.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/cproton/cproton.c +69 -59
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ac8b96488f863160e534736c193e468534c965ded7eb04085cef605efea58e6
|
4
|
+
data.tar.gz: 7e0cbc90e431c318f9bceb6d4052c2f7db3da3b5bf929346ab5d12f50161f1ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08e63bc86504b15270cd9286eb74d6990629533ce7e2b3a63285f58da62dde4ddf18f1488f86cdb2a4f2999f2b73161ca9736f3df679b5d992e7ad4878cdc47d'
|
7
|
+
data.tar.gz: d95b09e8a5eef4e2eb2dd44979f622635bae45fb3110d37d8e8d62d605fa74460c78e5bb4c8256ddfe7242fa0ffc4643b2a899c3a7fce44cdf30c026bb4617b8
|
data/ext/cproton/cproton.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version
|
3
|
+
* Version 4.0.1
|
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
|
@@ -307,6 +307,7 @@
|
|
307
307
|
/* Flags for pointer conversions */
|
308
308
|
#define SWIG_POINTER_DISOWN 0x1
|
309
309
|
#define SWIG_CAST_NEW_MEMORY 0x2
|
310
|
+
#define SWIG_POINTER_NO_NULL 0x4
|
310
311
|
|
311
312
|
/* Flags for new pointer objects */
|
312
313
|
#define SWIG_POINTER_OWN 0x1
|
@@ -945,6 +946,9 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
945
946
|
#ifndef RSTRUCT_PTR
|
946
947
|
# define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
|
947
948
|
#endif
|
949
|
+
#ifndef RTYPEDDATA_P
|
950
|
+
# define RTYPEDDATA_P(x) (TYPE(x) != T_DATA)
|
951
|
+
#endif
|
948
952
|
|
949
953
|
|
950
954
|
|
@@ -961,26 +965,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
961
965
|
* can be passed as an argument to API functions like Data_Wrap_Struct()
|
962
966
|
* and Data_Make_Struct().
|
963
967
|
*/
|
964
|
-
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
#
|
970
|
-
# else
|
971
|
-
# ifndef ANYARGS /* These definitions should work for Ruby 1.6 */
|
972
|
-
# define PROTECTFUNC(f) ((VALUE (*)()) f)
|
973
|
-
# define VALUEFUNC(f) ((VALUE (*)()) f)
|
974
|
-
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
975
|
-
# else /* These definitions should work for Ruby 1.7+ */
|
976
|
-
# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
|
977
|
-
# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
|
978
|
-
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
979
|
-
# endif
|
980
|
-
# endif
|
968
|
+
#if defined(__cplusplus) && !defined(RB_METHOD_DEFINITION_DECL)
|
969
|
+
# define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
|
970
|
+
# define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
|
971
|
+
# define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
|
972
|
+
# define VOID_ANYARGS_FUNC(f) ((void (*)(ANYARGS))(f))
|
973
|
+
# define INT_ANYARGS_FUNC(f) ((int (*)(ANYARGS))(f))
|
981
974
|
#else
|
975
|
+
# define PROTECTFUNC(f) (f)
|
982
976
|
# define VALUEFUNC(f) (f)
|
983
977
|
# define VOIDFUNC(f) (f)
|
978
|
+
# define VOID_ANYARGS_FUNC(f) (f)
|
979
|
+
# define INT_ANYARGS_FUNC(f) (f)
|
984
980
|
#endif
|
985
981
|
|
986
982
|
/* Don't use for expressions have side effect */
|
@@ -1168,7 +1164,7 @@ void Ruby_Format_OverloadedError(
|
|
1168
1164
|
/* -----------------------------------------------------------------------------
|
1169
1165
|
* rubytracking.swg
|
1170
1166
|
*
|
1171
|
-
* This file contains support for tracking mappings from
|
1167
|
+
* This file contains support for tracking mappings from
|
1172
1168
|
* Ruby objects to C++ objects. This functionality is needed
|
1173
1169
|
* to implement mark functions for Ruby's mark and sweep
|
1174
1170
|
* garbage collector.
|
@@ -1195,11 +1191,11 @@ extern "C" {
|
|
1195
1191
|
#endif
|
1196
1192
|
|
1197
1193
|
/* Global hash table to store Trackings from C/C++
|
1198
|
-
structs to Ruby Objects.
|
1194
|
+
structs to Ruby Objects.
|
1199
1195
|
*/
|
1200
1196
|
static st_table* swig_ruby_trackings = NULL;
|
1201
1197
|
|
1202
|
-
static VALUE swig_ruby_trackings_count(
|
1198
|
+
static VALUE swig_ruby_trackings_count(ID id, VALUE *var) {
|
1203
1199
|
return SWIG2NUM(swig_ruby_trackings->num_entries);
|
1204
1200
|
}
|
1205
1201
|
|
@@ -1209,7 +1205,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
|
|
1209
1205
|
/* Create a hash table to store Trackings from C++
|
1210
1206
|
objects to Ruby objects. */
|
1211
1207
|
|
1212
|
-
/* Try to see if some other .so has already created a
|
1208
|
+
/* Try to see if some other .so has already created a
|
1213
1209
|
tracking hash table, which we keep hidden in an instance var
|
1214
1210
|
in the SWIG module.
|
1215
1211
|
This is done to allow multiple DSOs to share the same
|
@@ -1236,7 +1232,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
|
|
1236
1232
|
swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
|
1237
1233
|
}
|
1238
1234
|
|
1239
|
-
rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
|
1235
|
+
rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", VALUEFUNC(swig_ruby_trackings_count), VOID_ANYARGS_FUNC((rb_gvar_setter_t*)NULL));
|
1240
1236
|
}
|
1241
1237
|
|
1242
1238
|
/* Add a Tracking from a C/C++ struct to a Ruby object */
|
@@ -1268,13 +1264,14 @@ SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
|
|
1268
1264
|
|
1269
1265
|
/* This is a helper method that unlinks a Ruby object from its
|
1270
1266
|
underlying C++ object. This is needed if the lifetime of the
|
1271
|
-
Ruby object is longer than the C++ object */
|
1267
|
+
Ruby object is longer than the C++ object. */
|
1272
1268
|
SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
|
1273
1269
|
VALUE object = SWIG_RubyInstanceFor(ptr);
|
1274
1270
|
|
1275
1271
|
if (object != Qnil) {
|
1276
|
-
|
1277
|
-
|
1272
|
+
// object might have the T_ZOMBIE type, but that's just
|
1273
|
+
// because the GC has flagged it as such for a deferred
|
1274
|
+
// destruction. Until then, it's still a T_DATA object.
|
1278
1275
|
DATA_PTR(object) = 0;
|
1279
1276
|
}
|
1280
1277
|
}
|
@@ -1284,13 +1281,13 @@ SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
|
|
1284
1281
|
to the passed callback function. */
|
1285
1282
|
|
1286
1283
|
/* Proxy method to abstract the internal trackings datatype */
|
1287
|
-
static int swig_ruby_internal_iterate_callback(
|
1288
|
-
(*meth)(ptr, obj);
|
1284
|
+
static int swig_ruby_internal_iterate_callback(st_data_t ptr, st_data_t obj, st_data_t meth) {
|
1285
|
+
((void (*) (void *, VALUE))meth)((void *)ptr, (VALUE)obj);
|
1289
1286
|
return ST_CONTINUE;
|
1290
1287
|
}
|
1291
1288
|
|
1292
1289
|
SWIGRUNTIME void SWIG_RubyIterateTrackings( void(*meth)(void* ptr, VALUE obj) ) {
|
1293
|
-
st_foreach(swig_ruby_trackings, (
|
1290
|
+
st_foreach(swig_ruby_trackings, INT_ANYARGS_FUNC(swig_ruby_internal_iterate_callback), (st_data_t)meth);
|
1294
1291
|
}
|
1295
1292
|
|
1296
1293
|
#ifdef __cplusplus
|
@@ -1507,10 +1504,11 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1507
1504
|
swig_class *sklass;
|
1508
1505
|
VALUE klass;
|
1509
1506
|
VALUE obj;
|
1510
|
-
|
1507
|
+
|
1511
1508
|
if (!ptr)
|
1512
1509
|
return Qnil;
|
1513
|
-
|
1510
|
+
|
1511
|
+
assert(type);
|
1514
1512
|
if (type->clientdata) {
|
1515
1513
|
sklass = (swig_class *) type->clientdata;
|
1516
1514
|
|
@@ -1518,7 +1516,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1518
1516
|
track = sklass->trackObjects;
|
1519
1517
|
if (track) {
|
1520
1518
|
obj = SWIG_RubyInstanceFor(ptr);
|
1521
|
-
|
1519
|
+
|
1522
1520
|
/* Check the object's type and make sure it has the correct type.
|
1523
1521
|
It might not in cases where methods do things like
|
1524
1522
|
downcast methods. */
|
@@ -1550,7 +1548,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1550
1548
|
obj = Data_Wrap_Struct(klass, 0, 0, ptr);
|
1551
1549
|
}
|
1552
1550
|
rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
|
1553
|
-
|
1551
|
+
|
1554
1552
|
return obj;
|
1555
1553
|
}
|
1556
1554
|
|
@@ -1582,7 +1580,7 @@ typedef struct {
|
|
1582
1580
|
SWIGRUNTIME swig_ruby_owntype
|
1583
1581
|
SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) {
|
1584
1582
|
swig_ruby_owntype oldown = {0, 0};
|
1585
|
-
if (obj) {
|
1583
|
+
if (TYPE(obj) == T_DATA && !RTYPEDDATA_P(obj)) {
|
1586
1584
|
oldown.datafree = RDATA(obj)->dfree;
|
1587
1585
|
RDATA(obj)->dfree = own.datafree;
|
1588
1586
|
}
|
@@ -1601,9 +1599,9 @@ SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags,
|
|
1601
1599
|
if (NIL_P(obj)) {
|
1602
1600
|
if (ptr)
|
1603
1601
|
*ptr = 0;
|
1604
|
-
return SWIG_OK;
|
1602
|
+
return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
|
1605
1603
|
} else {
|
1606
|
-
if (TYPE(obj) != T_DATA) {
|
1604
|
+
if (TYPE(obj) != T_DATA || (TYPE(obj) == T_DATA && RTYPEDDATA_P(obj))) {
|
1607
1605
|
return SWIG_ERROR;
|
1608
1606
|
}
|
1609
1607
|
Data_Get_Struct(obj, void, vptr);
|
@@ -1698,7 +1696,7 @@ SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
|
|
1698
1696
|
return rb_str_new2(result);
|
1699
1697
|
}
|
1700
1698
|
|
1701
|
-
/* Convert a packed
|
1699
|
+
/* Convert a packed pointer value */
|
1702
1700
|
SWIGRUNTIME int
|
1703
1701
|
SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
|
1704
1702
|
swig_cast_info *tc;
|
@@ -1886,7 +1884,7 @@ static VALUE mCproton;
|
|
1886
1884
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1887
1885
|
|
1888
1886
|
|
1889
|
-
#define SWIGVERSION
|
1887
|
+
#define SWIGVERSION 0x040001
|
1890
1888
|
#define SWIG_VERSION SWIGVERSION
|
1891
1889
|
|
1892
1890
|
|
@@ -1915,15 +1913,16 @@ static VALUE mCproton;
|
|
1915
1913
|
|
1916
1914
|
|
1917
1915
|
SWIGINTERN VALUE
|
1918
|
-
SWIG_ruby_failed(
|
1916
|
+
SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
|
1919
1917
|
{
|
1920
1918
|
return Qnil;
|
1921
1919
|
}
|
1922
1920
|
|
1923
1921
|
|
1924
|
-
/*@SWIG:/usr/share/swig/
|
1925
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE
|
1922
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
1923
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE arg)
|
1926
1924
|
{
|
1925
|
+
VALUE *args = (VALUE *)arg;
|
1927
1926
|
VALUE obj = args[0];
|
1928
1927
|
VALUE type = TYPE(obj);
|
1929
1928
|
unsigned long *res = (unsigned long *)(args[1]);
|
@@ -1941,7 +1940,7 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
|
|
1941
1940
|
VALUE a[2];
|
1942
1941
|
a[0] = obj;
|
1943
1942
|
a[1] = (VALUE)(&v);
|
1944
|
-
if (rb_rescue(
|
1943
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2ULONG), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
1945
1944
|
if (val) *val = v;
|
1946
1945
|
return SWIG_OK;
|
1947
1946
|
}
|
@@ -1966,9 +1965,10 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
|
|
1966
1965
|
|
1967
1966
|
|
1968
1967
|
#ifdef SWIG_LONG_LONG_AVAILABLE
|
1969
|
-
/*@SWIG:/usr/share/swig/
|
1970
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE
|
1968
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
1969
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE arg)
|
1971
1970
|
{
|
1971
|
+
VALUE *args = (VALUE *)arg;
|
1972
1972
|
VALUE obj = args[0];
|
1973
1973
|
VALUE type = TYPE(obj);
|
1974
1974
|
long long *res = (long long *)(args[1]);
|
@@ -1986,7 +1986,7 @@ SWIG_AsVal_unsigned_SS_long_SS_long (VALUE obj, unsigned long long *val)
|
|
1986
1986
|
VALUE a[2];
|
1987
1987
|
a[0] = obj;
|
1988
1988
|
a[1] = (VALUE)(&v);
|
1989
|
-
if (rb_rescue(
|
1989
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2ULL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
1990
1990
|
if (val) *val = v;
|
1991
1991
|
return SWIG_OK;
|
1992
1992
|
}
|
@@ -2296,9 +2296,10 @@ SWIG_From_bool (bool value)
|
|
2296
2296
|
|
2297
2297
|
|
2298
2298
|
|
2299
|
-
/*@SWIG:/usr/share/swig/
|
2300
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE
|
2299
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2300
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE arg)
|
2301
2301
|
{
|
2302
|
+
VALUE *args = (VALUE *)arg;
|
2302
2303
|
VALUE obj = args[0];
|
2303
2304
|
VALUE type = TYPE(obj);
|
2304
2305
|
long *res = (long *)(args[1]);
|
@@ -2316,7 +2317,7 @@ SWIG_AsVal_long (VALUE obj, long* val)
|
|
2316
2317
|
VALUE a[2];
|
2317
2318
|
a[0] = obj;
|
2318
2319
|
a[1] = (VALUE)(&v);
|
2319
|
-
if (rb_rescue(
|
2320
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LONG), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2320
2321
|
if (val) *val = v;
|
2321
2322
|
return SWIG_OK;
|
2322
2323
|
}
|
@@ -2572,7 +2573,7 @@ SWIG_From_unsigned_SS_int (unsigned int value)
|
|
2572
2573
|
/* isfinite() is a macro for C99 */
|
2573
2574
|
# if defined(isfinite)
|
2574
2575
|
# define SWIG_isfinite(X) (isfinite(X))
|
2575
|
-
# elif defined
|
2576
|
+
# elif defined(__cplusplus) && __cplusplus >= 201103L
|
2576
2577
|
/* Use a template so that this works whether isfinite() is std::isfinite() or
|
2577
2578
|
* in the global namespace. The reality seems to vary between compiler
|
2578
2579
|
* versions.
|
@@ -2588,6 +2589,12 @@ inline int SWIG_isfinite_func(T x) {
|
|
2588
2589
|
return isfinite(x);
|
2589
2590
|
}
|
2590
2591
|
# define SWIG_isfinite(X) (SWIG_isfinite_func(X))
|
2592
|
+
# elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
|
2593
|
+
# define SWIG_isfinite(X) (__builtin_isfinite(X))
|
2594
|
+
# elif defined(__clang__) && defined(__has_builtin)
|
2595
|
+
# if __has_builtin(__builtin_isfinite)
|
2596
|
+
# define SWIG_isfinite(X) (__builtin_isfinite(X))
|
2597
|
+
# endif
|
2591
2598
|
# elif defined(_MSC_VER)
|
2592
2599
|
# define SWIG_isfinite(X) (_finite(X))
|
2593
2600
|
# elif defined(__sun) && defined(__SVR4)
|
@@ -2605,9 +2612,10 @@ inline int SWIG_isfinite_func(T x) {
|
|
2605
2612
|
#endif
|
2606
2613
|
|
2607
2614
|
|
2608
|
-
/*@SWIG:/usr/share/swig/
|
2609
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE
|
2615
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2616
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
|
2610
2617
|
{
|
2618
|
+
VALUE *args = (VALUE *)arg;
|
2611
2619
|
VALUE obj = args[0];
|
2612
2620
|
VALUE type = TYPE(obj);
|
2613
2621
|
double *res = (double *)(args[1]);
|
@@ -2625,7 +2633,7 @@ SWIG_AsVal_double (VALUE obj, double *val)
|
|
2625
2633
|
VALUE a[2];
|
2626
2634
|
a[0] = obj;
|
2627
2635
|
a[1] = (VALUE)(&v);
|
2628
|
-
if (rb_rescue(
|
2636
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2DBL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2629
2637
|
if (val) *val = v;
|
2630
2638
|
return SWIG_OK;
|
2631
2639
|
}
|
@@ -2694,9 +2702,10 @@ SWIG_AsVal_unsigned_SS_short (VALUE obj, unsigned short *val)
|
|
2694
2702
|
|
2695
2703
|
|
2696
2704
|
#ifdef SWIG_LONG_LONG_AVAILABLE
|
2697
|
-
/*@SWIG:/usr/share/swig/
|
2698
|
-
SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE
|
2705
|
+
/*@SWIG:/usr/share/swig/4.0.1/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2706
|
+
SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE arg)
|
2699
2707
|
{
|
2708
|
+
VALUE *args = (VALUE *)arg;
|
2700
2709
|
VALUE obj = args[0];
|
2701
2710
|
VALUE type = TYPE(obj);
|
2702
2711
|
long long *res = (long long *)(args[1]);
|
@@ -2714,7 +2723,7 @@ SWIG_AsVal_long_SS_long (VALUE obj, long long *val)
|
|
2714
2723
|
VALUE a[2];
|
2715
2724
|
a[0] = obj;
|
2716
2725
|
a[1] = (VALUE)(&v);
|
2717
|
-
if (rb_rescue(
|
2726
|
+
if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2LL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
|
2718
2727
|
if (val) *val = v;
|
2719
2728
|
return SWIG_OK;
|
2720
2729
|
}
|
@@ -19629,7 +19638,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
19629
19638
|
|
19630
19639
|
/* Now work on filling in swig_module.types */
|
19631
19640
|
#ifdef SWIGRUNTIME_DEBUG
|
19632
|
-
printf("SWIG_InitializeModule: size %
|
19641
|
+
printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
|
19633
19642
|
#endif
|
19634
19643
|
for (i = 0; i < swig_module.size; ++i) {
|
19635
19644
|
swig_type_info *type = 0;
|
@@ -19637,7 +19646,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
19637
19646
|
swig_cast_info *cast;
|
19638
19647
|
|
19639
19648
|
#ifdef SWIGRUNTIME_DEBUG
|
19640
|
-
printf("SWIG_InitializeModule: type %
|
19649
|
+
printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
|
19641
19650
|
#endif
|
19642
19651
|
|
19643
19652
|
/* if there is another module already loaded */
|
@@ -19713,7 +19722,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
19713
19722
|
for (i = 0; i < swig_module.size; ++i) {
|
19714
19723
|
int j = 0;
|
19715
19724
|
swig_cast_info *cast = swig_module.cast_initial[i];
|
19716
|
-
printf("SWIG_InitializeModule: type %
|
19725
|
+
printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
|
19717
19726
|
while (cast->type) {
|
19718
19727
|
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
|
19719
19728
|
cast++;
|
@@ -19830,7 +19839,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
19830
19839
|
rb_define_module_function(mCproton, "pni_connection_driver", _wrap_pni_connection_driver, -1);
|
19831
19840
|
rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
|
19832
19841
|
rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
|
19833
|
-
rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(
|
19842
|
+
rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(34)));
|
19834
19843
|
rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
|
19835
19844
|
rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
|
19836
19845
|
rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
|
@@ -20280,6 +20289,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20280
20289
|
rb_define_const(mCproton, "PN_RAW_CONNECTION_READ", SWIG_From_int((int)(PN_RAW_CONNECTION_READ)));
|
20281
20290
|
rb_define_const(mCproton, "PN_RAW_CONNECTION_WRITTEN", SWIG_From_int((int)(PN_RAW_CONNECTION_WRITTEN)));
|
20282
20291
|
rb_define_const(mCproton, "PN_RAW_CONNECTION_WAKE", SWIG_From_int((int)(PN_RAW_CONNECTION_WAKE)));
|
20292
|
+
rb_define_const(mCproton, "PN_RAW_CONNECTION_DRAIN_BUFFERS", SWIG_From_int((int)(PN_RAW_CONNECTION_DRAIN_BUFFERS)));
|
20283
20293
|
rb_define_module_function(mCproton, "pn_event_type_name", _wrap_pn_event_type_name, -1);
|
20284
20294
|
rb_define_module_function(mCproton, "pn_collector", _wrap_pn_collector, -1);
|
20285
20295
|
rb_define_module_function(mCproton, "pn_collector_free", _wrap_pn_collector_free, -1);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qpid_proton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darryl L. Pierce
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |
|
15
15
|
Proton is a high performance, lightweight messaging library. It can be used in
|
@@ -122,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
|
-
|
126
|
-
rubygems_version: 2.7.6.2
|
125
|
+
rubygems_version: 3.1.6
|
127
126
|
signing_key:
|
128
127
|
specification_version: 4
|
129
128
|
summary: Ruby language bindings for the Qpid Proton messaging framework
|