mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
This commit is contained in:
@@ -42,7 +42,6 @@ class ThreadModule : public love::Module
|
||||
{
|
||||
public:
|
||||
|
||||
ThreadModule();
|
||||
virtual ~ThreadModule() {}
|
||||
virtual LuaThread *newThread(const std::string &name, love::Data *data);
|
||||
virtual Channel *newChannel();
|
||||
@@ -50,6 +49,7 @@ public:
|
||||
|
||||
// Implements Module.
|
||||
virtual const char *getName() const;
|
||||
virtual ModuleType getModuleType() const { return M_THREAD; }
|
||||
|
||||
}; // ThreadModule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user