STRPTR buf = GetScript(STRPTR file);
GetScript()
instead.
If GetScript()
does not want to handle the file it is passed, it must
return NULL
.
For compatibility reasons, the returned script is expected to be in ISO 8859-1
encoding. You can change this by including the magic phrase ::utf8
in
the very first 5 bytes that your GetScript()
implementation returns. In that
case, Hollywood will assume UTF-8 encoding for your script.
NULL