Fixes narray::Length not being a property in angelscript.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
Ensure(engine->RegisterObjectBehaviour("narray<T>", asBEHAVE_RELEASE, "void f()",
|
||||
asMETHOD(NativeArray, Release), asCALL_THISCALL));
|
||||
|
||||
Ensure(engine->RegisterObjectMethod("narray<T>", "uint64 Length() const", asMETHOD(NativeArray, Length),
|
||||
Ensure(engine->RegisterObjectMethod("narray<T>", "uint64 get_Length() const property", asMETHOD(NativeArray, Length),
|
||||
asCALL_THISCALL) >= 0);
|
||||
Ensure(engine->RegisterObjectMethod("narray<T>", "const T@ At(uint64 index) const", asMETHOD(NativeArray, At),
|
||||
asCALL_THISCALL) >= 0);
|
||||
|
||||
Reference in New Issue
Block a user