python tests baked into scons; h_ch needs the first char of its input string as its input

This commit is contained in:
Meredith L. Patterson 2013-11-18 21:14:44 -06:00 committed by Dan Hirsch
parent eba8ecc6c3
commit 073d6d8a27
3 changed files with 226 additions and 228 deletions

View file

@ -8,8 +8,11 @@
%typemap(in) uint8_t* {
$1 = (uint8_t*)PyString_AsString($input);
}
%typemap(out) uint8_t* {
$result = PyString_FromString((char*)$1);
}
#else
#warning no "in" typemap defined
#warning no uint8_t* typemaps defined
#endif
// 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.