1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Update sqrat allocator to comply with changes to StackStrF.

This commit is contained in:
Sandu Liviu Catalin 2018-07-30 01:07:33 +03:00
parent d39c08fe71
commit 89734ae1b2

View File

@ -399,9 +399,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 4, true);
StackStrF fmt(vm, 4);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -483,9 +483,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 7, true);
StackStrF fmt(vm, 7);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -585,9 +585,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 10, true);
StackStrF fmt(vm, 10);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -623,9 +623,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 11, true);
StackStrF fmt(vm, 11);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -1267,9 +1267,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 4, true);
StackStrF fmt(vm, 4);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -1293,9 +1293,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 5, true);
StackStrF fmt(vm, 5);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -1321,9 +1321,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 6, true);
StackStrF fmt(vm, 6);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -1351,7 +1351,7 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 7, true);
StackStrF fmt(vm, 7);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
return fmt.mRes;
@ -1383,7 +1383,7 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 8, true);
StackStrF fmt(vm, 8);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
return fmt.mRes;
@ -1417,9 +1417,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 9, true);
StackStrF fmt(vm, 9);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -1453,9 +1453,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 10, true);
StackStrF fmt(vm, 10);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}
@ -1491,9 +1491,9 @@ public:
return sq_throwerror(vm, SQWHAT_NOEXCEPT(vm));
}
const StackStrF fmt(vm, 11, true);
StackStrF fmt(vm, 11);
// Validate the format
if (SQ_FAILED(fmt.mRes)) {
if (SQ_FAILED(fmt.Proc(true))) {
return fmt.mRes;
}