hoopagent 1.14.9.pre.beta1 → 1.14.9.pre.beta2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e49cdecf7e05081df17fde1dd0bcacdd3eec94d8781acdd059ca357e357cbf
4
- data.tar.gz: 74096c3d2d3c2dce99658b75e6218e3c09658f743598bf6efeb270289bf71826
3
+ metadata.gz: 060015b642cf48d495e8e3c6c9ed04cbf2faae84121cae06fcbcf24e009b0475
4
+ data.tar.gz: f183db901a734ce3d02e45c81543a332f1b1e6765eb43dfa7e1429b64ababe90
5
5
  SHA512:
6
- metadata.gz: 9a5c68c01c31babb997665ac09dcd4c4388b060a8a76d8cf13a342b267be23fa3acca90a3e1de861b77c024be88ca92e97136e8e382b981ce83a6c651b3af5cd
7
- data.tar.gz: 21d4d410b4c26f5594b46cb8f5a4d1a2331c6051dcc9c544ba86bb85d266fe4f378675c111341b3184bc60886b232203b43b12d3686baf9a0a5d60636ff97e10
6
+ metadata.gz: 6e0655710fd40e7e2a946c2da295b6933f16a3a794112efc0fc98f4a325feb365dd8ba7ab3f3962586dd168297caff6dbbb3425d72819377f3abcd4535000070
7
+ data.tar.gz: 7faffd0191ad64c0f61dcbd0f2eacc14becfb2f0048ce336ac5c03713586abfbb7d8c50567ddbaaf1ceead1fb9edf7b852064118c632c03486561a7020dbf8ad
@@ -74,8 +74,8 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
74
74
  extern "C" {
75
75
  #endif
76
76
 
77
- extern void __start_in_background();
78
- extern void __start();
77
+ extern void __start_in_background(GoString dsn);
78
+ extern void __start(GoString dsn);
79
79
 
80
80
  #ifdef __cplusplus
81
81
  }
Binary file
@@ -74,8 +74,8 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
74
74
  extern "C" {
75
75
  #endif
76
76
 
77
- extern void __start_in_background();
78
- extern void __start();
77
+ extern void __start_in_background(GoString dsn);
78
+ extern void __start(GoString dsn);
79
79
 
80
80
  #ifdef __cplusplus
81
81
  }
Binary file
data/lib/hoopagent.rb CHANGED
@@ -11,8 +11,8 @@ module HoopAgent
11
11
 
12
12
  if File.exist?(@lib_path)
13
13
  ffi_lib @lib_path
14
- attach_function :__start, [], :void
15
- attach_function :__start_in_background, [], :void
14
+ attach_function :__start, [:string], :void
15
+ attach_function :__start_in_background, [:string], :void
16
16
  else
17
17
  puts "[hoopagent] platform not supported: #{@platform}, lib_so=#{@lib_path}"
18
18
  end
@@ -74,8 +74,8 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
74
74
  extern "C" {
75
75
  #endif
76
76
 
77
- extern void __start_in_background();
78
- extern void __start();
77
+ extern void __start_in_background(GoString dsn);
78
+ extern void __start(GoString dsn);
79
79
 
80
80
  #ifdef __cplusplus
81
81
  }
Binary file
@@ -74,8 +74,8 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
74
74
  extern "C" {
75
75
  #endif
76
76
 
77
- extern void __start_in_background();
78
- extern void __start();
77
+ extern void __start_in_background(GoString dsn);
78
+ extern void __start(GoString dsn);
79
79
 
80
80
  #ifdef __cplusplus
81
81
  }
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoopagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.9.pre.beta1
4
+ version: 1.14.9.pre.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Mello