Core: Rename MemoryStream to MemoryView, add MemoryStream
Former-commit-id: c180d5f34fa7c477f35c4b70ebf7b64e3f35fe3d
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
#include <Nazara/Core/File.hpp>
|
||||
#include <Nazara/Core/MemoryHelper.hpp>
|
||||
#include <Nazara/Core/MemoryStream.hpp>
|
||||
#include <Nazara/Core/MemoryView.hpp>
|
||||
#include <Nazara/Core/StringStream.hpp>
|
||||
#include <cstdlib>
|
||||
#include <stdexcept>
|
||||
@@ -418,7 +418,7 @@ namespace Nz
|
||||
|
||||
bool LuaInstance::ExecuteFromMemory(const void* data, unsigned int size)
|
||||
{
|
||||
MemoryStream stream(data, size);
|
||||
MemoryView stream(data, size);
|
||||
return ExecuteFromStream(stream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user