C++ bindings getting underway.

This commit is contained in:
Meredith L. Patterson 2013-08-09 18:45:26 +02:00
parent a7e4def944
commit 2408106191
3 changed files with 655 additions and 0 deletions

View file

@ -27,7 +27,13 @@
#define BIT_LITTLE_ENDIAN 0x0
#define BYTE_LITTLE_ENDIAN 0x0
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __cplusplus
typedef int bool;
#endif
typedef struct HParseState_ HParseState;
@ -617,4 +623,8 @@ void h_benchmark_report(FILE* stream, HBenchmarkResults* results);
void h_benchmark_dump_optimized_code(FILE* stream, HBenchmarkResults* results);
// }}}
#ifdef __cplusplus
}
#endif
#endif // #ifndef HAMMER_HAMMER__H