Decouple <cstddef>

This commit is contained in:
Martin Natano
2023-04-20 11:21:29 +02:00
parent 093675cdc3
commit 78fb2e9fc3
171 changed files with 2012 additions and 1786 deletions
+4 -3
View File
@@ -13,11 +13,12 @@
#include "MessageManager.h"
#include "ver.h"
#include <sstream> // conversion for lua functions.
#include <csetjmp>
#include <cassert>
#include <cmath>
#include <csetjmp>
#include <cstddef>
#include <map>
#include <sstream> // conversion for lua functions.
LuaManager *LUA = nullptr;
struct Impl
@@ -95,7 +96,7 @@ namespace LuaHelpers
template<> bool FromStack<unsigned int>( Lua *L, unsigned int &Object, int iOffset ) { Object = lua_tointeger( L, iOffset ); return true; }
template<> bool FromStack<RString>( Lua *L, RString &Object, int iOffset )
{
size_t iLen;
std::size_t iLen;
const char *pStr = lua_tolstring( L, iOffset, &iLen );
if( pStr != nullptr )
Object.assign( pStr, iLen );