Return values are still the same (NULL or 0 for errors). I've deleted the exit() calls, as a library never should exit on its own, even when the errors are fatal. Freetype errors are passed through. There's a hook for printing errors, so that the default behavior still is to print errors on stderr, but by changing the hook, applications can redirect the errors.
…lity with existing freetype-gl applications
Return values are still the same (NULL or 0 for errors). I've deleted the exit() calls, as a library never should exit on its own, even when the errors are fatal. Freetype errors are passed through. There's a hook for printing errors, so that the default behavior still is to print errors on stderr, but by changing the hook, applications can redirect the errors.