mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Rework internal module registration to happen in constructors.
This commit is contained in:
@@ -117,10 +117,6 @@ public:
|
||||
DataModule();
|
||||
virtual ~DataModule();
|
||||
|
||||
// Implements Module.
|
||||
ModuleType getModuleType() const override { return M_DATA; }
|
||||
const char *getName() const override { return "love.data"; }
|
||||
|
||||
DataView *newDataView(Data *data, size_t offset, size_t size);
|
||||
ByteData *newByteData(size_t size);
|
||||
ByteData *newByteData(const void *d, size_t size);
|
||||
|
||||
Reference in New Issue
Block a user