ffi-tox 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/interfaces/libtox.i CHANGED
@@ -7,6 +7,12 @@ 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
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
10
16
  %}
11
17
 
12
18
  /* Parse the header file to generate wrappers */
@@ -6,6 +6,12 @@ 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
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
9
15
  MAX_NAME_LENGTH = 128
10
16
  MAX_USERSTATUS_LENGTH = 128
11
17
  PACKET_ID_NICKNAME = 48
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -57,7 +57,6 @@ files:
57
57
  - ProjectTox-Core/COPYING
58
58
  - ProjectTox-Core/INSTALL.md
59
59
  - ProjectTox-Core/README.md
60
- - ProjectTox-Core/core/CMakeLists.txt
61
60
  - ProjectTox-Core/core/DHT.c
62
61
  - ProjectTox-Core/core/DHT.h
63
62
  - ProjectTox-Core/core/LAN_discovery.c
@@ -72,6 +71,7 @@ files:
72
71
  - ProjectTox-Core/core/net_crypto.h
73
72
  - ProjectTox-Core/core/network.c
74
73
  - ProjectTox-Core/core/network.h
74
+ - ProjectTox-Core/core/CMakeLists.txt
75
75
  - ProjectTox-Core/other/CMakeLists.txt
76
76
  - ProjectTox-Core/other/DHT_bootstrap.c
77
77
  - ProjectTox-Core/testing/CMakeLists.txt