Convert to pragma once
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef LUASTACK_HPP
|
||||
#define LUASTACK_HPP
|
||||
#pragma once
|
||||
|
||||
#include "util.hpp"
|
||||
#include "wrap-string.hpp"
|
||||
@@ -946,5 +945,3 @@ public:
|
||||
#define LuaStringify(x) #x
|
||||
#define LuaAssert(L, x) if (!(x)) { luaL_error((L), "Assert failed: %s (file %s line %d)", LuaStringify(x), __FILE__, __LINE__); }
|
||||
#define LuaAssertStrEq(L, x, y) { eng::string _s1_(x); eng::string _s2_(y); if (_s1_ != _s2_) luaL_error((L), "Assert failed: value=%s (file %s line %d)", _s1_.c_str(), __FILE__, __LINE__); }
|
||||
|
||||
#endif // LUASTACK_HPP
|
||||
|
||||
Reference in New Issue
Block a user