Skip to content

Commit

Permalink
Removed explicit TArray instantiations
Browse files Browse the repository at this point in the history
This is no longer needed because TArray is now a proper header-only type.
  • Loading branch information
UE4SS committed Aug 23, 2023
1 parent f743eda commit b24a552
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 70 deletions.
2 changes: 1 addition & 1 deletion Dependencies/Unreal
69 changes: 0 additions & 69 deletions src/UE4SSProgram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1549,74 +1549,5 @@ namespace RC
FunctionTimerCollection::dump();
#endif
}

namespace Unreal
{
template class RC_UE4SS_API TArray<char>;
template class RC_UE4SS_API TArray<signed char>;
template class RC_UE4SS_API TArray<unsigned char>;

template class RC_UE4SS_API TArray<unsigned int>;
template class RC_UE4SS_API TArray<int>;
template class RC_UE4SS_API TArray<float>;
template class RC_UE4SS_API TArray<double>;

template class RC_UE4SS_API TArray<int8_t>;
template class RC_UE4SS_API TArray<int16_t>;
template class RC_UE4SS_API TArray<int32_t>;
template class RC_UE4SS_API TArray<int64_t>;
template class RC_UE4SS_API TArray<uint8_t>;
template class RC_UE4SS_API TArray<uint16_t>;
template class RC_UE4SS_API TArray<uint32_t>;
template class RC_UE4SS_API TArray<uint64_t>;

template class RC_UE4SS_API TArray<AActor*>;
template class RC_UE4SS_API TArray<AGameMode*>;
template class RC_UE4SS_API TArray<AGameModeBase*>;
template class RC_UE4SS_API TArray<FArchiveState*>;
template class RC_UE4SS_API TArray<FArchive*>;
template class RC_UE4SS_API TArray<FAssetData*>;
template class RC_UE4SS_API TArray<FField*>;
template class RC_UE4SS_API TArray<FFieldClass*>;
template class RC_UE4SS_API TArray<FFieldPath*>;
template class RC_UE4SS_API TArray<FOutputDevice*>;
template class RC_UE4SS_API TArray<FProperty*>;
template class RC_UE4SS_API TArray<FScriptArray*>;
template class RC_UE4SS_API TArray<FString*>;
template class RC_UE4SS_API TArray<FString>;
template class RC_UE4SS_API TArray<FText*>;
template class RC_UE4SS_API TArray<FWeakObjectPtr*>;
template class RC_UE4SS_API TArray<UGameplayStatics*>;
template class RC_UE4SS_API TArray<FName*>;
template class RC_UE4SS_API TArray<FName>;
template class RC_UE4SS_API TArray<FUniqueObjectGuid*>;
template class RC_UE4SS_API TArray<FQuat*>;
template class RC_UE4SS_API TArray<FRotator*>;
template class RC_UE4SS_API TArray<FVector*>;
template class RC_UE4SS_API TArray<FTransform*>;
template class RC_UE4SS_API TArray<FGuid*>;
template class RC_UE4SS_API TArray<FGuid>;
template class RC_UE4SS_API TArray<UActorComponent*>;
template class RC_UE4SS_API TArray<USceneComponent*>;
template class RC_UE4SS_API TArray<UAssetRegistry*>;
template class RC_UE4SS_API TArray<UAssetRegistryHelpers*>;
template class RC_UE4SS_API TArray<UClass*>;
template class RC_UE4SS_API TArray<UEnum*>;
template class RC_UE4SS_API TArray<UField*>;
template class RC_UE4SS_API TArray<UFunction*>;
template class RC_UE4SS_API TArray<UGameViewportClient*>;
template class RC_UE4SS_API TArray<UInterface*>;
template class RC_UE4SS_API TArray<UKismetSystemLibrary*>;
template class RC_UE4SS_API TArray<ULocalPlayer*>;
template class RC_UE4SS_API TArray<UObjectBase*>;
template class RC_UE4SS_API TArray<UObject*>;
template class RC_UE4SS_API TArray<UPackage*>;
template class RC_UE4SS_API TArray<UPlayer*>;
template class RC_UE4SS_API TArray<UScriptStruct*>;
template class RC_UE4SS_API TArray<UStruct*>;
template class RC_UE4SS_API TArray<UWorld*>;

template class RC_UE4SS_API TArray<TPair<FName, int64_t>>;
}
}

0 comments on commit b24a552

Please sign in to comment.