mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Move Lua wrapper code for Variants out of the Variant class file.
This commit is contained in:
@@ -78,6 +78,20 @@ private:
|
||||
|
||||
}; // Object
|
||||
|
||||
/**
|
||||
* Structure wrapping an object and its associated Type instance. This is used
|
||||
* for storing everything necessary to identify an object's properties in
|
||||
* environments where the Type is not easily obtained otherwise, for example in
|
||||
* a Lua state.
|
||||
**/
|
||||
struct Proxy
|
||||
{
|
||||
// Holds type information (see types.h).
|
||||
love::Type *type;
|
||||
|
||||
// Pointer to the actual object.
|
||||
Object *object;
|
||||
};
|
||||
|
||||
enum class Acquire
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user