ffi-tox 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/interfaces/libtox.i +5 -5
- data/lib/ffi-tox/libtox.rb +5 -5
- metadata +1 -1
data/interfaces/libtox.i
CHANGED
@@ -8,11 +8,11 @@ module Tox
|
|
8
8
|
uint16_t = :uint16
|
9
9
|
uint32_t = :uint32
|
10
10
|
attach_variable 'self_public_key', :uint8
|
11
|
-
attach_variable 'self_name', :uint8
|
12
|
-
attach_variable 'self_name_length', :uint16
|
13
|
-
attach_variable 'self_userstatus', :pointer
|
14
|
-
attach_variable 'self_userstatus_len', :uint16
|
15
|
-
attach_variable 'numfriends', :uint32
|
11
|
+
# attach_variable 'self_name', :uint8
|
12
|
+
# attach_variable 'self_name_length', :uint16
|
13
|
+
# attach_variable 'self_userstatus', :pointer
|
14
|
+
# attach_variable 'self_userstatus_len', :uint16
|
15
|
+
# attach_variable 'numfriends', :uint32
|
16
16
|
%}
|
17
17
|
|
18
18
|
/* Parse the header file to generate wrappers */
|
data/lib/ffi-tox/libtox.rb
CHANGED
@@ -7,11 +7,11 @@ module Tox
|
|
7
7
|
uint16_t = :uint16
|
8
8
|
uint32_t = :uint32
|
9
9
|
attach_variable 'self_public_key', :uint8
|
10
|
-
attach_variable 'self_name', :uint8
|
11
|
-
attach_variable 'self_name_length', :uint16
|
12
|
-
attach_variable 'self_userstatus', :pointer
|
13
|
-
attach_variable 'self_userstatus_len', :uint16
|
14
|
-
attach_variable 'numfriends', :uint32
|
10
|
+
# attach_variable 'self_name', :uint8
|
11
|
+
# attach_variable 'self_name_length', :uint16
|
12
|
+
# attach_variable 'self_userstatus', :pointer
|
13
|
+
# attach_variable 'self_userstatus_len', :uint16
|
14
|
+
# attach_variable 'numfriends', :uint32
|
15
15
|
MAX_NAME_LENGTH = 128
|
16
16
|
MAX_USERSTATUS_LENGTH = 128
|
17
17
|
PACKET_ID_NICKNAME = 48
|