mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
Make pr.load_file 'return' the file size
This commit is contained in:
parent
7e76a96f7d
commit
c296514b95
8 changed files with 22 additions and 11 deletions
|
@ -1550,7 +1550,7 @@ struct progs_s {
|
|||
int no_exec_limit;
|
||||
|
||||
void (*file_error) (progs_t *pr, const char *path);
|
||||
void *(*load_file) (progs_t *pr, const char *path);
|
||||
void *(*load_file) (progs_t *pr, const char *path, off_t *size);
|
||||
void *(*allocate_progs_mem) (progs_t *pr, int size);
|
||||
void (*free_progs_mem) (progs_t *pr, void *mem);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue