mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
[quakefs] Document that QFS_LoadFile closes the file
In the end, I decided that the behavior isn't so bad, but it does need to be documented. Closes #34
This commit is contained in:
parent
e8b2822587
commit
70d07d8026
1 changed files with 4 additions and 0 deletions
|
@ -252,6 +252,10 @@ QFile *QFS_FOpenFile (const char *filename);
|
|||
data. Use 0.
|
||||
\return Pointer to the file's data, or NULL on error.
|
||||
\todo remove \a usehunk
|
||||
|
||||
\note The file is closed on return as any error is either file not found
|
||||
(\a file is null) or there was a memory allocation error (bigger
|
||||
problems).
|
||||
*/
|
||||
byte *QFS_LoadFile (QFile *file, int usehunk);
|
||||
|
||||
|
|
Loading…
Reference in a new issue