2014-01-29 14:03:05 +00:00
|
|
|
/* Demo of use of error library */
|
|
|
|
|
|
|
|
#ifndef TEST_ERR_H
|
2015-01-22 03:40:55 +00:00
|
|
|
# define TEST_ERR_H
|
2014-01-29 14:03:05 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Test library name */
|
|
|
|
|
2015-01-22 03:40:55 +00:00
|
|
|
# define TEST_LIB_NAME "demo test library routines"
|
2014-01-29 14:03:05 +00:00
|
|
|
|
|
|
|
/* Normal header details go here */
|
|
|
|
|
2015-01-22 03:40:55 +00:00
|
|
|
/*
|
|
|
|
* Prototypes are picked up by the error script to generate strings for
|
2014-01-29 14:03:05 +00:00
|
|
|
* function names.
|
|
|
|
*/
|
|
|
|
|
|
|
|
void a_test_function(void);
|
|
|
|
|
2015-01-22 03:40:55 +00:00
|
|
|
/*
|
|
|
|
* Everything after this point is auto generated when you do "make errors"
|
2014-01-29 14:03:05 +00:00
|
|
|
*/
|