UTIL FreeFile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{lang|UTIL FreeFile|title=<code>UTIL_FreeFile</code>}} {{ent|UTIL_FreeFile}} is a UTIL function that calls {{ent|FreeOptimalReadBuffer}}. <source lang=cpp>void UTIL_Free...")
 
(Elaboration for people that struggle with implication.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{lang|UTIL FreeFile|title=<code>UTIL_FreeFile</code>}}
{{lang|UTIL FreeFile|title=<code>UTIL_FreeFile</code>}}
{{ent|UTIL_FreeFile}} is a [[UTIL]] function that calls {{ent|FreeOptimalReadBuffer}}.
{{ent|UTIL_FreeFile}} is a [[UTIL]] function that calls {{ent|FreeOptimalReadBuffer}} on a buffer (to free the buffer).


<source lang=cpp>void UTIL_FreeFile( byte *buffer );</source>
<source lang=cpp>void UTIL_FreeFile( byte *buffer );</source>
* <code>byte *buffer</code> - File buffer (pointer) to be freed.


[[Category:UTIL]]
[[Category:UTIL]]

Latest revision as of 16:35, 25 January 2022

English (en)Translate (Translate)

UTIL_FreeFile is a UTIL function that calls FreeOptimalReadBuffer on a buffer (to free the buffer).

void UTIL_FreeFile( byte *buffer );
  • byte *buffer - File buffer (pointer) to be freed.