register PIVariant std::function
This commit is contained in:
@@ -751,7 +751,8 @@ REGISTER_VARIANT(PIPointd)
|
||||
REGISTER_VARIANT(PIRectd)
|
||||
REGISTER_VARIANT(PIMathVectord)
|
||||
REGISTER_VARIANT(PIMathMatrixd)
|
||||
|
||||
typedef std::function<void(void*)> KeySlot;
|
||||
REGISTER_VARIANT(KeySlot)
|
||||
|
||||
inline PIByteArray & operator <<(PIByteArray & s, const PIVariant & v) {
|
||||
s << v._content << int(v._type);
|
||||
|
||||
Reference in New Issue
Block a user