%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" #include "internal.h" %} %include "allocator.h" %include "hammer.h" %apply const char* { const uint8_t* }