SWIG bindings build, compile, and appear to work for python. Will port over tests next.
This commit is contained in:
parent
c54f63871a
commit
fc63ee5d1b
2 changed files with 9 additions and 3 deletions
|
|
@ -1,5 +1,11 @@
|
|||
%module hammer
|
||||
|
||||
%import "allocator.h"
|
||||
%import "hammer.h"
|
||||
%{
|
||||
#include "allocator.h"
|
||||
#include "hammer.h"
|
||||
#include "internal.h"
|
||||
%}
|
||||
%include "allocator.h"
|
||||
%include "hammer.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -660,7 +660,7 @@ HParsedToken *h_act_ignore(const HParseResult *p);
|
|||
// {{{ Benchmark functions
|
||||
HAMMER_FN_DECL(HBenchmarkResults *, h_benchmark, HParser* parser, HParserTestcase* testcases);
|
||||
void h_benchmark_report(FILE* stream, HBenchmarkResults* results);
|
||||
void h_benchmark_dump_optimized_code(FILE* stream, HBenchmarkResults* results);
|
||||
//void h_benchmark_dump_optimized_code(FILE* stream, HBenchmarkResults* results);
|
||||
// }}}
|
||||
|
||||
#endif // #ifndef HAMMER_HAMMER__H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue