evrcc.csharp.i 525 B

123456789101112131415161718192021222324
  1. %module evrcc
  2. %include <windows.i>
  3. %include <csharp/typemaps.i>
  4. %include <csharp/arrays_csharp.i>
  5. %{
  6. #include "evrcc.h"
  7. %}
  8. %apply unsigned char { uint8_t }
  9. %apply signed char { int8_t }
  10. %apply unsigned short { uint16_t }
  11. %apply signed short { int16_t }
  12. %apply unsigned int { size_t }
  13. %apply unsigned char OUTPUT[] { uint8_t* }
  14. %apply unsigned char INPUT[] { const uint8_t* }
  15. %apply signed short OUTPUT[] { int16_t* }
  16. %apply signed short INPUT[] { const int16_t* }
  17. %apply void *VOID_INT_PTR { void* }
  18. %include "evrcc.h"