Convert to pragma once

This commit is contained in:
2026-02-25 01:58:19 -05:00
parent adead5149e
commit 4b81a0768a
35 changed files with 35 additions and 141 deletions

View File

@@ -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