1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-17 07:37:13 +02:00

Minor changes and additions.

This commit is contained in:
Sandu Liviu Catalin
2020-04-21 06:06:27 +03:00
parent 0af137b96a
commit 65f7852c21
4 changed files with 75 additions and 14 deletions

View File

@ -399,7 +399,7 @@ Vector4 SqBuffer::ReadVector4()
void Register_Buffer(HSQUIRRELVM vm)
{
RootTable(vm).Bind(Typename::Str,
Class< SqBuffer >(vm, Typename::Str)
Class< SqBuffer, NoCopy< SqBuffer > >(vm, Typename::Str)
// Constructors
.Ctor()
.Ctor< SQInteger >()