qzdoom/src/scripting/vm
Christoph Oelckers 4417afd548 - changed VMValue to handle strings by reference.
This makes VMValue a real POD type with no hacky overloads and eliminates a lot of destructor code in all places that call a VM function. Due to the way this had to be handled, none of these destructors could be skipped because any value could have been a string.
This required some minor changes in functions that passed a temporary FString into the VM to ensure that the temporary object lives long enough to be handled. The code generator had already been changed to deal with this in a previous commit.
This is easily offset by the code savings and reduced maintenance needs elsewhere.
2017-03-22 01:44:56 +01:00
..
vm.h - changed VMValue to handle strings by reference. 2017-03-22 01:44:56 +01:00
vmexec.cpp Fixed compilation of Debug configuration 2017-03-05 11:39:25 +02:00
vmexec.h - changed VMValue to handle strings by reference. 2017-03-22 01:44:56 +01:00
vmframe.cpp - changed VMValue to handle strings by reference. 2017-03-22 01:44:56 +01:00
vmops.h - refactored the scope check for VirtualScope calls. 2017-03-07 22:17:48 +01:00