make headers work in C++

add two more variable length integer encoding functions
This commit is contained in:
leitner
2012-02-07 17:02:40 +00:00
parent d17c2d1012
commit 4f1e1d300c
38 changed files with 357 additions and 15 deletions

View File

@@ -5,6 +5,10 @@
/* for exit(): */
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
/* These use file descriptor 2, not buffer_2!
* Call buffer_flush(buffer_2) before calling these! */
@@ -27,4 +31,8 @@ void errmsg_infosys(const char* message, ...);
#define msg(...) errmsg_info(__VA_ARGS__,(char*)0);
#define msgsys(...) errmsg_infosys(__VA_ARGS__,(char*)0);
#ifdef __cplusplus
}
#endif
#endif