Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #101 from iainmckay/fix-latent-action-linux-compil…
Browse files Browse the repository at this point in the history
…ation

Fixes compilation errors on Linux due to latent action addition
  • Loading branch information
pixeltris authored Jul 21, 2019
2 parents 3c4fee5 + 1a969af commit 1ebc3f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Source/USharp/Private/USharpLatentAction.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "USharpLatentAction.h"

ManagedLatentCallbackDel UUSharpAsyncActionBaseCallback = nullptr;
ManagedLatentCallbackDel UUSharpOnlineBlueprintCallProxyBaseCallback = nullptr;
ManagedLatentCallbackDel UUSharpGameplayTaskCallback = nullptr;

6 changes: 3 additions & 3 deletions Source/USharp/Private/USharpLatentAction.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ enum class ManagedLatentCallbackType : int32
};

typedef void(CSCONV *ManagedLatentCallbackDel)(ManagedLatentCallbackType CallbackType, const void* ThisPtr, const void* Data);
ManagedLatentCallbackDel UUSharpAsyncActionBaseCallback = nullptr;
ManagedLatentCallbackDel UUSharpOnlineBlueprintCallProxyBaseCallback = nullptr;
ManagedLatentCallbackDel UUSharpGameplayTaskCallback = nullptr;
extern ManagedLatentCallbackDel UUSharpAsyncActionBaseCallback;
extern ManagedLatentCallbackDel UUSharpOnlineBlueprintCallProxyBaseCallback;
extern ManagedLatentCallbackDel UUSharpGameplayTaskCallback;

class FUSharpLatentAction : public FPendingLatentAction
{
Expand Down

0 comments on commit 1ebc3f0

Please sign in to comment.