MonoPosixHelper.h 521 B

1234567891011121314151617
  1. #pragma once
  2. #include <stdint.h>
  3. #include "il2cpp-config.h"
  4. #include "il2cpp-object-internals.h"
  5. extern "C"
  6. {
  7. struct ZStream;
  8. IL2CPP_EXPORT intptr_t CreateZStream(int32_t compress, uint8_t gzip, Il2CppMethodPointer func, intptr_t gchandle);
  9. IL2CPP_EXPORT int32_t CloseZStream(intptr_t zstream);
  10. IL2CPP_EXPORT int32_t Flush(intptr_t zstream);
  11. IL2CPP_EXPORT int32_t ReadZStream(intptr_t zstream, intptr_t buffer, int32_t length);
  12. IL2CPP_EXPORT int32_t WriteZStream(intptr_t zstream, intptr_t buffer, int32_t length);
  13. }