mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -37,6 +37,8 @@ namespace love
|
||||
namespace filesystem
|
||||
{
|
||||
|
||||
love::Type DroppedFile::type(&File::type);
|
||||
|
||||
DroppedFile::DroppedFile(const std::string &filename)
|
||||
: filename(filename)
|
||||
, file(nullptr)
|
||||
|
||||
Reference in New Issue
Block a user