ass_read_styles method

int ass_read_styles(
  1. Pointer<ASS_Track> track,
  2. Pointer<Char> fname,
  3. Pointer<Char> codepage
)

\brief Read styles from file into already initialized track. \param fname file name \param codepage encoding (iconv format) \return 0 on success NOTE: On Microsoft Windows, when using WIN32-APIs, fname must be in either UTF-8 mixed with lone or paired UTF-16 surrogates encoded like in CESU-8 or the encoding accepted by fopen with the former taking precedence if both versions are valid and exist. On all other systems there is no need for special considerations like that.

Implementation

int ass_read_styles(
  ffi.Pointer<ASS_Track> track,
  ffi.Pointer<ffi.Char> fname,
  ffi.Pointer<ffi.Char> codepage,
) {
  return _ass_read_styles(
    track,
    fname,
    codepage,
  );
}