mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-24 19:23:00 +00:00
Due to how OP_RETURN works, a destination is required for any function returning data, but the caller may not have allocated any space for the value. Thus the VM maintains a buffer into which the data can be put and ignored. It also makes a good place for return values when the engine calls Ruamoko code as trusting progs code with return sizes seems like a recipe for disaster, especially if the return location is on the C stack. |
||
---|---|---|
.. | ||
audio | ||
client | ||
console | ||
gamecode | ||
gib | ||
image | ||
input | ||
models | ||
net | ||
qw | ||
ruamoko | ||
scene | ||
ui | ||
util | ||
video | ||
Makemodule.am |