Re: wrapping C code - my exercise in incompetence.
- Posted by gbonvehi Mar 12, 2013
- 3087 views
Looking at aiString declaration here: http://realxtend-naali-deps.googlecode.com/svn-history/r64/bin/build_deps/assimp/include/aiTypes.h
I think the problem is that aiString's sizeof is not 5. It may be something like 1024 (MAXLEN) + size_t (which I assume is 4). Just guessing by taking a quick look at that declaration, I may be wrong and probably your get_aistring_sequence will shed some light to this.
Edit: I knew Eu4 had size_t defined, the size may vary: http://openeuphoria.org/docs/std_dll.html#_5402_c_size_t