mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -29,6 +29,8 @@ namespace love
|
||||
namespace filesystem
|
||||
{
|
||||
|
||||
love::Type FileData::type(&Data::type);
|
||||
|
||||
FileData::FileData(uint64 size, const std::string &filename)
|
||||
: data(nullptr)
|
||||
, size((size_t) size)
|
||||
|
||||
Reference in New Issue
Block a user