The Battle for Wesnoth  1.19.5+dev
wrapper_lauxlib.h
Go to the documentation of this file.
1 #pragma once
2 
3 #if defined(__clang__)
4  #pragma clang diagnostic push
5  #pragma clang diagnostic ignored "-Wold-style-cast"
6 #elif defined(__GNUG__)
7  #pragma GCC diagnostic push
8  #pragma GCC diagnostic ignored "-Wold-style-cast"
9 #endif
10 
11 #if defined(HAVE_SYSTEM_LUA)
12  #include "lauxlib.h"
13 #else
14  #include "modules/lua/lauxlib.h"
15 #endif
16 
17 constexpr int luaL_buffersize = LUAL_BUFFERSIZE;
18 
19 #if defined(__clang__)
20  #pragma clang diagnostic pop
21 #elif defined(__GNUG__)
22  #pragma GCC diagnostic pop
23 #endif
constexpr int luaL_buffersize