Environment-c-api.h 348 B

123456789101112131415161718
  1. #pragma once
  2. #include <stdint.h>
  3. #if defined(__cplusplus)
  4. extern "C"
  5. {
  6. #endif
  7. char* UnityPalGetOsUserName();
  8. char* UnityPalGetEnvironmentVariable(const char* name);
  9. void UnityPalSetEnvironmentVariable(const char* name, const char* value);
  10. char* UnityPalGetHomeDirectory();
  11. int32_t UnityPalGetProcessorCount();
  12. #if defined(__cplusplus)
  13. }
  14. #endif