aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/error.hpp
blob: 90772df10814b6f8ce452675803e9847658eb5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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 "stage2.h"

const char *err_str(Error err);

#define assertNoError(err) assert((err) == ErrorNone);

#endif