Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for lower engine versions. Add new arm64 lib. #38

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


#include "FunctionLibraries/PubnubUtilities.h"
#include "Runtime/Launch/Resources/Version.h"
#include "Json.h"


Expand All @@ -22,5 +23,10 @@ FString UPubnubUtilities::PubnubCharMemBlockToString(const pubnub_char_mem_block
return "";
}

#if ENGINE_MINOR_VERSION <= 3
//This constructor is deprecated since 5.4
return FString(PnChar.size, PnChar.ptr);
#else
return FString::ConstructFromPtrSize(PnChar.ptr, PnChar.size);
#endif
}
Binary file modified Source/ThirdParty/sdk/lib/arm64/libpubnub.a
Binary file not shown.