ffi-tox 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/interfaces/libtox.i CHANGED
@@ -7,7 +7,7 @@ module Tox
7
7
  ffi_lib File.absolute_path(File.join(__FILE__,"../../../ext/ffi-tox/libtox.so"))
8
8
  uint16_t = :uint16
9
9
  uint32_t = :uint32
10
- attach_variable 'self_public_key', :uint8
10
+ attach_variable 'self_public_key', [:uint8, 32]
11
11
  # attach_variable 'self_name', :uint8
12
12
  # attach_variable 'self_name_length', :uint16
13
13
  # attach_variable 'self_userstatus', :pointer
@@ -6,7 +6,7 @@ module Tox
6
6
  ffi_lib File.absolute_path(File.join(__FILE__,"../../../ext/ffi-tox/libtox.so"))
7
7
  uint16_t = :uint16
8
8
  uint32_t = :uint32
9
- attach_variable 'self_public_key', :uint8
9
+ attach_variable 'self_public_key', [:uint8, 32]
10
10
  # attach_variable 'self_name', :uint8
11
11
  # attach_variable 'self_name_length', :uint16
12
12
  # attach_variable 'self_userstatus', :pointer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-tox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: