mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-28 14:47:09 +01:00
Massive code reduction in the binding utility by using variadic templates.
Extensive code refactoring surrounding the StackStrF helper to facilitate the new changes. Various other miscellaneous changes and code refactoring to facilitate the new changes.
This commit is contained in:
1 parent
199e9ac502
commit
f300e7ff4a
20 files changed
+724
-9507
No files matched your search
@@ -25,9 +25,9 @@ static SQInteger SqLoadScript(HSQUIRRELVM vm)
|
||||
// Whether the script execution is delayed
|
||||
SQBool delay = SQFalse;
|
||||
// Attempt to generate the string value
|
||||
StackStrF val(vm, 3, true);
|
||||
StackStrF val(vm, 3);
|
||||
// Have we failed to retrieve the string?
|
||||
if (SQ_FAILED(val.mRes))
|
||||
if (SQ_FAILED(val.Proc(true)))
|
||||
{
|
||||
return val.mRes; // Propagate the error!
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user