Il2CppHStringReference.cpp 417 B

123456789101112131415161718
  1. #include "il2cpp-config.h"
  2. #if !IL2CPP_TINY || IL2CPP_TINY_DEBUGGER
  3. #include <il2cpp-object-internals.h>
  4. #include "Il2CppHStringReference.h"
  5. #include "vm/WindowsRuntime.h"
  6. namespace il2cpp
  7. {
  8. namespace vm
  9. {
  10. Il2CppHStringReference::Il2CppHStringReference(const utils::StringView<Il2CppNativeChar>& str)
  11. {
  12. il2cpp::vm::WindowsRuntime::CreateHStringReference(str, &m_Header, &m_String);
  13. }
  14. }
  15. }
  16. #endif