Fix documentation

Forgot to update comments referring to return values, better to specify the return value as the define that should be passed!