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 +1 -1
- data/lib/ffi-tox/libtox.rb +1 -1
- metadata +1 -1
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
|
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', :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
|