zig/src/error.hpp

19 lines
273 B
C++
Raw Normal View History

2015-11-05 15:05:25 +08:00
/*
* 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
enum Error {
ErrorNoMem,
ErrorInvalidFormat,
};
const char *err_str(int err);
#endif