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

Commit

Permalink
Fixes compilation errors on Linux due to latent action addition
Browse files Browse the repository at this point in the history
  • Loading branch information
iainmckay committed Jul 21, 2019
1 parent 3c4fee5 commit 1a969af
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 1a969af

Please sign in to comment.