Scoreboard return types

I'm going back through the Nim bindings for the playdate SDK, and it's brought up a question: In the scoreboards api, what do the integer return types for the various functions represent?

For example:

int playdate->scoreboards->getPersonalBest(const char *boardID, PersonalBestCallback callback)

Is 1 success and 0 failure? Or is >= 0 success and < 0 an error? I'm seeing a mix of styles in other SDK functions