Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

SDL.RWFromFile

Create a RWops object from a file.

Function

SYNOPSIS

function SDL.RWFromFile(path, mode)

ARGUMENTS

  • path, the path to the file
  • mode, the mode

RETURNS

  1. the RWops object or nil
  2. the error message
Clone this wiki locally