Advertisement
Guest User

Untitled

a guest
Feb 11th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. diff --git a/gruel/src/swig/pmt_swig.i b/gruel/src/swig/pmt_swig.i
  2. index 84f48b0..41c3fe7 100644
  3. --- a/gruel/src/swig/pmt_swig.i
  4. +++ b/gruel/src/swig/pmt_swig.i
  5. @@ -43,20 +43,20 @@
  6. %include <stl.i>
  7.  
  8. namespace std {
  9. - %template() vector<unsigned char>;
  10. - %template() vector<uint8_t>;
  11. - %template() vector<char>;
  12. - %template() vector<int8_t>;
  13. - %template() vector<short>;
  14. - %template() vector<uint16_t>;
  15. - %template() vector<int16_t>;
  16. - %template() vector<int>;
  17. - %template() vector<int32_t>;
  18. - %template() vector<uint32_t>;
  19. - %template() vector<float>;
  20. - %template() vector<double>;
  21. - %template() vector< std::complex<float> >;
  22. - %template() vector< std::complex<double> >;
  23. + //%template(pmt_butts_std_vector_unsigned_char) vector<unsigned char>; //redundant
  24. + %template(pmt_butts_std_vector_uint8) vector<uint8_t>;
  25. + %template(pmt_butts_std_vector_char) vector<char>; //not redundant - char != uchar != schar
  26. + %template(pmt_butts_std_vector_int8) vector<int8_t>;
  27. + //%template(pmt_butts_std_vector_short) vector<short>; //redundant
  28. + %template(pmt_butts_std_vector_uint16) vector<uint16_t>;
  29. + %template(pmt_butts_std_vector_int16) vector<int16_t>;
  30. + //%template(pmt_butts_std_vector_int) vector<int>; //redundant
  31. + %template(pmt_butts_std_vector_int32) vector<int32_t>;
  32. + %template(pmt_butts_std_vector_uint32) vector<uint32_t>;
  33. + %template(pmt_butts_std_vector_float) vector<float>;
  34. + %template(pmt_butts_std_vector_double) vector<double>;
  35. + %template(pmt_butts_std_vector_complex_float) vector< std::complex<float> >;
  36. + %template(pmt_butts_std_vector_complex_double) vector< std::complex<double> >;
  37. };
  38.  
  39. ////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement