mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Move Lua wrapper code for Variants out of the Variant class file.
This commit is contained in:
@@ -36,9 +36,6 @@ namespace thread
|
||||
|
||||
class Channel : public love::Object
|
||||
{
|
||||
// FOR WRAPPER USE ONLY
|
||||
friend int w_Channel_performAtomic(lua_State *);
|
||||
|
||||
public:
|
||||
|
||||
static love::Type type;
|
||||
@@ -57,11 +54,11 @@ public:
|
||||
bool hasRead(uint64 id) const;
|
||||
void clear();
|
||||
|
||||
private:
|
||||
|
||||
void lockMutex();
|
||||
void unlockMutex();
|
||||
|
||||
private:
|
||||
|
||||
MutexRef mutex;
|
||||
ConditionalRef cond;
|
||||
std::queue<Variant> queue;
|
||||
|
||||
Reference in New Issue
Block a user