Skip to content

Commit

Permalink
Maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-meta authored Jun 12, 2024
1 parent 0d676ea commit 786968a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions platform/linux/src/NetworkLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#include "NetworkLibrary.h"
#include "NetworkSupport.h"

using namespace Rtt;

int luaload_network(lua_State *L);

// This corresponds to the name of the library, e.g. [Lua] require "plugin.library"
Expand Down Expand Up @@ -191,7 +189,7 @@ int NetworkLibrary::Open(lua_State *L)

// Leave "library" on top of stack
// Set library as upvalue for each library function
lua_CFunction factory = Corona::Lua::Open < luaload_network > ;
lua_CFunction factory = Corona::Lua::Open < Rtt::luaload_network > ;
return CoronaLibraryNewWithFactory(L, factory, kVTable, library);
}

Expand Down Expand Up @@ -510,7 +508,7 @@ int NetworkLibrary::RemoveSystemEventListener(lua_State *L, int systemEventListe

// ----------------------------------------------------------------------------

// }// namespace Corona
}// namespace Corona

// ----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion platform/linux/src/NetworkLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ namespace Rtt
smart_ptr<NetworkRequestState> fRequestState;
NetworkLibrary* fNetworkLibrary;
};
}
// }
#endif // _NetworkLibrary_H__

0 comments on commit 786968a

Please sign in to comment.