There's a typemap problem between const uint8_t* and target-language strings, but I can create parsers in python and php.
This commit is contained in:
parent
73eabc7bf9
commit
ada7bf89ee
1 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
|||
%module hammer
|
||||
|
||||
%include "typemaps.i"
|
||||
%include "stdint.i"
|
||||
|
||||
// All the include paths are relative to the build, i.e., ../../. If you need to build these manually (i.e., not with scons), keep that in mind.
|
||||
%{
|
||||
#include "allocator.h"
|
||||
#include "hammer.h"
|
||||
|
|
@ -8,4 +12,5 @@
|
|||
%include "allocator.h"
|
||||
%include "hammer.h"
|
||||
|
||||
%apply const char* { const uint8_t* }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue