mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
578314c5a3
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. |
||
---|---|---|
.. | ||
test | ||
convert.py | ||
hops.py | ||
Makemodule.am | ||
opcodes.py | ||
pr_builtins.c | ||
pr_debug.c | ||
pr_edict.c | ||
pr_exec.c | ||
pr_load.c | ||
pr_opcode.c | ||
pr_parse.c | ||
pr_resolve.c | ||
pr_resource.c | ||
pr_strings.c | ||
pr_v6p_opcode.c | ||
pr_zone.c | ||
swizzle.py |