-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove/move internal vftbl types (#1493)
* Remove IActivationFactoryVftbl type * Move IReferenceTrackerTargetVftbl to runtime * Move or hide IDelegateVftbl type * Delete WinRT_Interop file * Actually delete IReferenceTrackerTargetVftbl * Fix Invoke references in code writer * Fix comment
- Loading branch information
1 parent
5b02525
commit 5861cf9
Showing
8 changed files
with
48 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
|
||
namespace WinRT.Interop | ||
{ | ||
// This is internal both in the embedded case, but also if we're on modern .NET, | ||
// because projections only use this vftbl type downlevel, and running older | ||
// projections against a newer version of CsWinRT is not supported. | ||
#if EMBED || NET | ||
internal | ||
#else | ||
public | ||
#endif | ||
struct IDelegateVftbl | ||
{ | ||
public IUnknownVftbl IUnknownVftbl; | ||
public IntPtr Invoke; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.