qpid_proton 0.26.0 → 0.27.1

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 +5 -5
  2. data/ext/cproton/cproton.c +17 -15
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ced8f50cc9aed4fb1974c8ee9278597470094ab7
4
- data.tar.gz: 05ca4b067b7c11fb3f324dd0b9f78b95ef7ec001
2
+ SHA256:
3
+ metadata.gz: 89b84daac08da7e47eac4379e2c5524c2149f574d8a0b43c62da6d8f312ada15
4
+ data.tar.gz: 8bf8db9eddf214c1625a7a366b8b397ad9f74820e1327f85613f0a5d54c75e75
5
5
  SHA512:
6
- metadata.gz: 23a7a30ea8f32106f14d54c86c08fd189fc8035a53d81afc120e2daee0a9e6266579400b472e7acf45ffac2b6c00961fd35f2c4894f3e6cb1df819332e58e398
7
- data.tar.gz: dff4e65bf82191bb0b23699b34f62411e9e845f4eed40d4cbbd84b7c141ae1a52ae9035c718b7794c61215000c08767fea5ea81e2d2a2178d488602296883c28
6
+ metadata.gz: ed10e28afd9da7bee4114f891b441b5b1fbfaf54ad889af968497fdb52015e2a5aee54c1c8b8dd3490495573b79ac1734acb8f5ed22edba5b816f8f8184db759
7
+ data.tar.gz: 8abf15cde4cec23141657974e8dbe3cedf9347896d8a2cc8c77bdaa4aa27becbb53505d24b96bd298c863f7fea0f092082ab996cb34255a62d4f7e31a3316128
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 3.0.11
3
+ * Version 3.0.12
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
@@ -1893,7 +1893,7 @@ static VALUE mCproton;
1893
1893
  #define SWIG_RUBY_THREAD_END_BLOCK
1894
1894
 
1895
1895
 
1896
- #define SWIGVERSION 0x030011
1896
+ #define SWIGVERSION 0x030012
1897
1897
  #define SWIG_VERSION SWIGVERSION
1898
1898
 
1899
1899
 
@@ -1928,7 +1928,7 @@ SWIG_ruby_failed(void)
1928
1928
  }
1929
1929
 
1930
1930
 
1931
- /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1931
+ /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1932
1932
  SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
1933
1933
  {
1934
1934
  VALUE obj = args[0];
@@ -1973,7 +1973,7 @@ SWIG_AsVal_unsigned_SS_long (VALUE obj, unsigned long *val)
1973
1973
 
1974
1974
 
1975
1975
  #ifdef SWIG_LONG_LONG_AVAILABLE
1976
- /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1976
+ /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
1977
1977
  SWIGINTERN VALUE SWIG_AUX_NUM2ULL(VALUE *args)
1978
1978
  {
1979
1979
  VALUE obj = args[0];
@@ -2303,7 +2303,7 @@ SWIG_From_bool (bool value)
2303
2303
 
2304
2304
 
2305
2305
 
2306
- /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2306
+ /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2307
2307
  SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
2308
2308
  {
2309
2309
  VALUE obj = args[0];
@@ -2585,9 +2585,11 @@ SWIG_From_unsigned_SS_int (unsigned int value)
2585
2585
  * versions.
2586
2586
  *
2587
2587
  * Make sure namespace std exists to avoid compiler warnings.
2588
+ *
2589
+ * extern "C++" is required as this fragment can end up inside an extern "C" { } block
2588
2590
  */
2589
2591
  namespace std { }
2590
- template<typename T>
2592
+ extern "C++" template<typename T>
2591
2593
  inline int SWIG_isfinite_func(T x) {
2592
2594
  using namespace std;
2593
2595
  return isfinite(x);
@@ -2610,7 +2612,7 @@ inline int SWIG_isfinite_func(T x) {
2610
2612
  #endif
2611
2613
 
2612
2614
 
2613
- /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2615
+ /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2614
2616
  SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
2615
2617
  {
2616
2618
  VALUE obj = args[0];
@@ -2699,7 +2701,7 @@ SWIG_AsVal_unsigned_SS_short (VALUE obj, unsigned short *val)
2699
2701
 
2700
2702
 
2701
2703
  #ifdef SWIG_LONG_LONG_AVAILABLE
2702
- /*@SWIG:/usr/share/swig/3.0.11/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2704
+ /*@SWIG:/usr/share/swig/3.0.12/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
2703
2705
  SWIGINTERN VALUE SWIG_AUX_NUM2LL(VALUE *args)
2704
2706
  {
2705
2707
  VALUE obj = args[0];
@@ -12487,12 +12489,12 @@ fail:
12487
12489
  SWIGINTERN VALUE
12488
12490
  _wrap_pn_transport_tick(int argc, VALUE *argv, VALUE self) {
12489
12491
  pn_transport_t *arg1 = (pn_transport_t *) 0 ;
12490
- pn_timestamp_t arg2 ;
12492
+ int64_t arg2 ;
12491
12493
  void *argp1 = 0 ;
12492
12494
  int res1 = 0 ;
12493
12495
  long long val2 ;
12494
12496
  int ecode2 = 0 ;
12495
- pn_timestamp_t result;
12497
+ int64_t result;
12496
12498
  VALUE vresult = Qnil;
12497
12499
 
12498
12500
  if ((argc < 2) || (argc > 2)) {
@@ -12505,10 +12507,10 @@ _wrap_pn_transport_tick(int argc, VALUE *argv, VALUE self) {
12505
12507
  arg1 = (pn_transport_t *)(argp1);
12506
12508
  ecode2 = SWIG_AsVal_long_SS_long(argv[1], &val2);
12507
12509
  if (!SWIG_IsOK(ecode2)) {
12508
- SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pn_timestamp_t","pn_transport_tick", 2, argv[1] ));
12510
+ SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int64_t","pn_transport_tick", 2, argv[1] ));
12509
12511
  }
12510
- arg2 = (pn_timestamp_t)(val2);
12511
- result = (pn_timestamp_t)pn_transport_tick(arg1,arg2);
12512
+ arg2 = (int64_t)(val2);
12513
+ result = (int64_t)pn_transport_tick(arg1,arg2);
12512
12514
  vresult = SWIG_From_long_SS_long((long long)(result));
12513
12515
  return vresult;
12514
12516
  fail:
@@ -21967,8 +21969,8 @@ SWIGEXPORT void Init_cproton(void) {
21967
21969
  rb_define_module_function(mCproton, "pni_connection_driver", _wrap_pni_connection_driver, -1);
21968
21970
  rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
21969
21971
  rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
21970
- rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(26)));
21971
- rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
21972
+ rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(27)));
21973
+ rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(1)));
21972
21974
  rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
21973
21975
  rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
21974
21976
  rb_define_module_function(mCproton, "pn_bytes", _wrap_pn_bytes, -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.26.0
4
+ version: 0.27.1
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: 2018-10-08 00:00:00.000000000 Z
12
+ date: 2019-05-06 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
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.5.2.1
140
+ rubygems_version: 2.7.6
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Ruby language bindings for the Qpid Proton messaging framework