Go to the source code of this file.
Defines | |
| #define | CheckErrorAndThrow(err, what, throw_str) |
| #define | CheckError(err, what) |
| #define | GR_PCM_ENDIANNESS 0 |
| #define CheckError | ( | err, | |||
| what | ) |
Value:
if (err) { \ OSStatus error = static_cast<OSStatus>(err); \ fprintf (stderr, "%s\n Error# %ld ('%4s')\n %s:%d\n", \ what, error, (char*)(&err), __FILE__, __LINE__); \ fflush (stdout); \ }
| #define CheckErrorAndThrow | ( | err, | |||
| what, | |||||
| throw_str | ) |
Value:
if (err) { \ OSStatus error = static_cast<OSStatus>(err); \ fprintf (stderr, "%s\n Error# %ld ('%4s')\n %s:%d\n", \ what, error, (char*)(&err), __FILE__, __LINE__); \ fflush (stdout); \ throw std::runtime_error (throw_str); \ }
| #define GR_PCM_ENDIANNESS 0 |
1.5.8