mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +01:00
Don't attempt to overload the cmp metamethod in the comamnd listener type.
This commit is contained in:
parent
242d6be1fe
commit
677398a642
@ -1074,7 +1074,7 @@ void Register(HSQUIRRELVM vm)
|
|||||||
.Ctor< CSStr, CSStr, Array &, Uint8, Uint8, SQInteger, bool, bool >()
|
.Ctor< CSStr, CSStr, Array &, Uint8, Uint8, SQInteger, bool, bool >()
|
||||||
// Meta-methods
|
// Meta-methods
|
||||||
.SquirrelFunc(_SC("_typename"), &ListenerTypename::Fn)
|
.SquirrelFunc(_SC("_typename"), &ListenerTypename::Fn)
|
||||||
.Func(_SC("_cmp"), &Listener::Cmp)
|
.Func(_SC("cmp"), &Listener::Cmp)
|
||||||
.Func(_SC("_tostring"), &Listener::ToString)
|
.Func(_SC("_tostring"), &Listener::ToString)
|
||||||
// Member Properties
|
// Member Properties
|
||||||
.Prop(_SC("References"), &Listener::GetRefCount)
|
.Prop(_SC("References"), &Listener::GetRefCount)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user