18 lines
297 B
C++
18 lines
297 B
C++
/*
|
|
* Copyright (c) 2015 Andrew Kelley
|
|
*
|
|
* This file is part of zig, which is MIT licensed.
|
|
* See http://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#ifndef ERROR_HPP
|
|
#define ERROR_HPP
|
|
|
|
#include "userland.h"
|
|
|
|
const char *err_str(Error err);
|
|
|
|
#define assertNoError(err) assert((err) == ErrorNone);
|
|
|
|
#endif
|