mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
7d43bd5c66
PR_AllocTempBlock() works the same way as PR_SetTempString(), except that it takes a size parameter and always allocates (never tries to merge). This is, in a way, abusing the string system, but I needed a way to allocate a block of progs memory that would be automatically freed when the current frame ended. The biggest abuse is the need to cast away the const of PR_GetString()'s return value. |
||
---|---|---|
.. | ||
Makefile.am | ||
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_zone.c |