RakNetCSharpPreprocessor.i 789 B

12345678910111213141516171819202122232425
  1. //----------------Extra Swig PreProcessor------------
  2. //To keep everything clean general swig preprocessor commands are stuck here
  3. //Alot of items not in here may be preprocessor, but are in thier own section for some reason or another
  4. //Defines
  5. #ifdef SWIGWIN
  6. #define _MSC_VER 10000
  7. #define WIN32
  8. #define _WIN32
  9. #endif
  10. //typedefs
  11. typedef int int32_t;
  12. typedef unsigned int uint32_t;
  13. typedef uint32_t DefaultIndexType;
  14. #ifdef SWIGWIN
  15. typedef unsigned int SOCKET;
  16. typedef unsigned int __UDPSOCKET__ ;
  17. typedef unsigned int __TCPSOCKET__;
  18. #endif
  19. typedef RakNet::RakString::SharedString SharedString;
  20. //Global Inserts
  21. #define SWIG_CSHARP_NO_IMCLASS_STATIC_CONSTRUCTOR 1;
  22. //----------------------------Method modifiers---------------------
  23. %include "RakNetSwigMacros.i"
粤ICP备19079148号