-
Notifications
You must be signed in to change notification settings - Fork 74
Sdl RWFromFile
Tangent 128 edited this page Mar 28, 2015
·
3 revisions
SDL.RWFromFile¶
<p>Create a <a href="Sdl-RWOpsObject" class="wiki-page">RWops</a> object from a file.</p>
Function¶
SYNOPSIS¶
function SDL.RWFromFile(path, mode)
ARGUMENTS¶
<ul>
<li>path, the path to the file</li>
<li>mode, the mode</li>
</ul>
RETURNS¶
<ol>
<li>the <a href="Sdl-RWOpsObject" class="wiki-page">RWops</a> object or nil</li>
<li>the error message</li>
</ol>