No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LibraryLoader.cpp 479B

1234567891011121314151617181920
  1. #include "il2cpp-config.h"
  2. #if !IL2CPP_TARGET_WINDOWS
  3. #include "os/LibraryLoader.h"
  4. #include "utils/StringUtils.h"
  5. namespace il2cpp
  6. {
  7. namespace os
  8. {
  9. bool LibraryLoader::EntryNameMatches(const il2cpp::utils::StringView<char>& hardcodedEntryPoint, const il2cpp::utils::StringView<char>& entryPoint)
  10. {
  11. return hardcodedEntryPoint.Length() == entryPoint.Length() && strncmp(hardcodedEntryPoint.Str(), entryPoint.Str(), entryPoint.Length()) == 0;
  12. }
  13. }
  14. }
  15. #endif