ffi-tox 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/interfaces/libtox.i +1 -1
- data/lib/ffi-tox/libtox.rb +1 -1
- metadata +3 -2
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',
|
10
|
+
attach_variable 'self_public_key', FFI::ArrayType.new(FFI::TYPE_UINT8,32)
|
11
11
|
# attach_variable 'self_name', :uint8
|
12
12
|
# attach_variable 'self_name_length', :uint16
|
13
13
|
# attach_variable 'self_userstatus', :pointer
|
data/lib/ffi-tox/libtox.rb
CHANGED
@@ -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',
|
9
|
+
attach_variable 'self_public_key', FFI::ArrayType.new(FFI::TYPE_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
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -90,7 +90,8 @@ files:
|
|
90
90
|
- ProjectTox-Core/testing/rect.py
|
91
91
|
- ext/ffi-tox/extconf.rb
|
92
92
|
homepage: http://github.com/d4l3k/ffi-tox
|
93
|
-
licenses:
|
93
|
+
licenses:
|
94
|
+
- Simplified BSD
|
94
95
|
post_install_message:
|
95
96
|
rdoc_options: []
|
96
97
|
require_paths:
|