NativeArray does not need to return const pointers in Angelscript.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b40e004724
commit
6480d97915
|
@ -1 +0,0 @@
|
|||
#include "NativeArray.hpp"
|
|
@ -36,9 +36,9 @@ public:
|
|||
|
||||
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),
|
||||
Ensure(engine->RegisterObjectMethod("narray<T>", "T@ At(uint64 index) const", asMETHOD(NativeArray, At),
|
||||
asCALL_THISCALL) >= 0);
|
||||
Ensure(engine->RegisterObjectMethod("narray<T>", "const T@ get_opIndex(uint64 index) const property",
|
||||
Ensure(engine->RegisterObjectMethod("narray<T>", "T@ get_opIndex(uint64 index) const property",
|
||||
asMETHOD(NativeArray, At), asCALL_THISCALL) >= 0);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue