mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define LOVE_OBJECT_H
|
||||
|
||||
#include <atomic>
|
||||
#include "types.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
@@ -38,6 +39,8 @@ class Object
|
||||
{
|
||||
public:
|
||||
|
||||
static love::Type type;
|
||||
|
||||
/**
|
||||
* Constructor. Sets reference count to one.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user