initial
This commit is contained in:
14
vnproglib/c/include/vn/error.h
Normal file
14
vnproglib/c/include/vn/error.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef VN_ERROR_H_INCLUDED
|
||||
#define VN_ERROR_H_INCLUDED
|
||||
|
||||
#include "vn/enum.h"
|
||||
|
||||
/** \brief Unified error code system. */
|
||||
|
||||
/** \brief Converts a VnError enum into a string.
|
||||
*
|
||||
* \param[out] out The buffer to place the string in.
|
||||
* \param[in] val The VnError value to convert to string. */
|
||||
void strFromVnError(char* out, VnError val);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user