rename LuaPlayer.hpp to LuaWebSocket.h
This commit is contained in:
		@@ -1,5 +1,4 @@
 | 
			
		||||
#ifndef LUAPLAYER_HPP
 | 
			
		||||
#define LUAPLAYER_HPP
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <iostream>
 | 
			
		||||
#include <string>
 | 
			
		||||
@@ -89,5 +88,3 @@ int luaopen_Player(lua_State* L)
 | 
			
		||||
        );
 | 
			
		||||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // LUAPLAYER_HPP
 | 
			
		||||
@@ -8,7 +8,7 @@ extern "C"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#include "functions.hpp"
 | 
			
		||||
#include "LuaPlayer.hpp"
 | 
			
		||||
#include "LuaWebSocket.h"
 | 
			
		||||
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
@@ -24,4 +24,3 @@ int main()
 | 
			
		||||
    luaL_dofile(L, "ia.lua");
 | 
			
		||||
    lua_close(L);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								makefile
									
									
									
									
									
								
							@@ -159,6 +159,9 @@ test_no_ssl:
 | 
			
		||||
	mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TEST=1 .. ; make -j 4)
 | 
			
		||||
	(cd test ; python2.7 run.py -r)
 | 
			
		||||
 | 
			
		||||
luarocks:
 | 
			
		||||
	mkdir -p build && (cd build ; cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DUSE_LUAROCKS=1 .. ; ninja)
 | 
			
		||||
 | 
			
		||||
ws_test: ws
 | 
			
		||||
	(cd ws ; env DEBUG=1 PATH=../ws/build:$$PATH bash test_ws.sh)
 | 
			
		||||
 | 
			
		||||
@@ -185,3 +188,4 @@ doc:
 | 
			
		||||
.PHONY: test
 | 
			
		||||
.PHONY: build
 | 
			
		||||
.PHONY: ws
 | 
			
		||||
.PHONY: luarocks
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user