Using latest love-android branch (e263d91d136d)

This commit is contained in:
fysx
2014-04-04 11:37:36 +02:00
parent 8acfb8d91a
commit e96eef4435
87 changed files with 1070 additions and 397 deletions
+1 -5
View File
@@ -89,7 +89,7 @@ static void parse_address(lua_State *l, const char *addr_str, ENetAddress *addre
/**
* Find the index of a given peer for which we only have the pointer.
*/
size_t find_peer_index (lua_State *l, ENetHost *enet_host, ENetPeer *peer) {
static size_t find_peer_index(lua_State *l, ENetHost *enet_host, ENetPeer *peer) {
size_t peer_index;
for (peer_index = 0; peer_index < enet_host->peerCount; peer_index++) {
if (peer == &(enet_host->peers[peer_index]))
@@ -716,10 +716,6 @@ static const struct luaL_Reg enet_peer_funcs [] = {
{NULL, NULL}
};
static const struct luaL_Reg enet_event_funcs [] = {
{NULL, NULL}
};
int luaopen_enet(lua_State *l) {
enet_initialize();
atexit(enet_deinitialize);