renet 0.1.7-universal-darwin → 0.1.9-universal-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/renet/callbacks.c +1 -1
- data/ext/renet/compress.c +1 -1
- data/ext/renet/enet.h +6 -6
- data/ext/renet/host.c +1 -1
- data/ext/renet/list.c +1 -1
- data/ext/renet/packet.c +1 -1
- data/ext/renet/peer.c +1 -1
- data/ext/renet/protocol.c +3 -3
- data/ext/renet/protocol.h +1 -1
- data/ext/renet/renet.c +1 -1
- data/ext/renet/renet.h +1 -1
- data/ext/renet/unix.c +1 -1
- data/ext/renet/win32.c +1 -1
- metadata +1 -1
data/ext/renet/callbacks.c
CHANGED
data/ext/renet/compress.c
CHANGED
data/ext/renet/enet.h
CHANGED
@@ -13,15 +13,15 @@ extern "C"
|
|
13
13
|
#include <stdlib.h>
|
14
14
|
|
15
15
|
#ifdef WIN32
|
16
|
-
#include "
|
16
|
+
#include "win32.h"
|
17
17
|
#else
|
18
|
-
#include "
|
18
|
+
#include "unix.h"
|
19
19
|
#endif
|
20
20
|
|
21
|
-
#include "
|
22
|
-
#include "
|
23
|
-
#include "
|
24
|
-
#include "
|
21
|
+
#include "types.h"
|
22
|
+
#include "protocol.h"
|
23
|
+
#include "list.h"
|
24
|
+
#include "callbacks.h"
|
25
25
|
|
26
26
|
#define ENET_VERSION_MAJOR 1
|
27
27
|
#define ENET_VERSION_MINOR 3
|
data/ext/renet/host.c
CHANGED
data/ext/renet/list.c
CHANGED
data/ext/renet/packet.c
CHANGED
data/ext/renet/peer.c
CHANGED
data/ext/renet/protocol.c
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
#include <stdio.h>
|
6
6
|
#include <string.h>
|
7
7
|
#define ENET_BUILDING_LIB 1
|
8
|
-
#include "
|
9
|
-
#include "
|
10
|
-
#include "enet
|
8
|
+
#include "utility.h"
|
9
|
+
#include "time.h"
|
10
|
+
#include "enet.h"
|
11
11
|
|
12
12
|
static size_t commandSizes [ENET_PROTOCOL_COMMAND_COUNT] =
|
13
13
|
{
|
data/ext/renet/protocol.h
CHANGED
data/ext/renet/renet.c
CHANGED
@@ -30,7 +30,7 @@ void Init_renet()
|
|
30
30
|
init_renet_connection();
|
31
31
|
init_renet_server();
|
32
32
|
rb_define_const(mENet, "ENET_VERSION", rb_str_new2("1.3.0"));
|
33
|
-
rb_define_const(mENet, "RENET_VERSION", rb_str_new2("0.1.
|
33
|
+
rb_define_const(mENet, "RENET_VERSION", rb_str_new2("0.1.9"));
|
34
34
|
}
|
35
35
|
|
36
36
|
VALUE renet_main_initialize(VALUE self)
|
data/ext/renet/renet.h
CHANGED
data/ext/renet/unix.c
CHANGED
data/ext/renet/win32.c
CHANGED