-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ruslan Balanukhin
committed
Jan 20, 2022
1 parent
1af9375
commit 633c15d
Showing
33 changed files
with
1,544 additions
and
1,560 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
15 changes: 7 additions & 8 deletions
15
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/DelegateDefinition.cs
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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class DelegateDefinition : TypeDefinition, ICanGenerateXmlDoc | ||
{ | ||
internal class DelegateDefinition : TypeDefinition, ICanGenerateXmlDoc | ||
{ | ||
public string FunctionName { get; init; } | ||
public TypeDefinition ReturnType { get; init; } | ||
public FunctionParameter[] Parameters { get; init; } | ||
public string Content { get; set; } | ||
} | ||
public string FunctionName { get; init; } | ||
public TypeDefinition ReturnType { get; init; } | ||
public FunctionParameter[] Parameters { get; init; } | ||
public string Content { get; set; } | ||
} |
9 changes: 4 additions & 5 deletions
9
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/EnumerationDefinition.cs
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class EnumerationDefinition : NamedDefinition, IDefinition | ||
{ | ||
internal class EnumerationDefinition : NamedDefinition, IDefinition | ||
{ | ||
public EnumerationItem[] Items { get; set; } | ||
} | ||
public EnumerationItem[] Items { get; set; } | ||
} |
13 changes: 6 additions & 7 deletions
13
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/EnumerationItem.cs
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class EnumerationItem : ICanGenerateXmlDoc | ||
{ | ||
internal class EnumerationItem : ICanGenerateXmlDoc | ||
{ | ||
public string Name { get; init; } | ||
public string Value { get; init; } | ||
public string Content { get; set; } | ||
} | ||
public string Name { get; init; } | ||
public string Value { get; init; } | ||
public string Content { get; set; } | ||
} |
11 changes: 5 additions & 6 deletions
11
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/ExportFunctionDefinition.cs
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class ExportFunctionDefinition : FunctionDefinitionBase | ||
{ | ||
internal class ExportFunctionDefinition : FunctionDefinitionBase | ||
{ | ||
public string LibraryName { get; set; } | ||
public int LibraryVersion { get; set; } | ||
} | ||
public string LibraryName { get; set; } | ||
public int LibraryVersion { get; set; } | ||
} |
13 changes: 6 additions & 7 deletions
13
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/FixedArrayDefinition.cs
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class FixedArrayDefinition : TypeDefinition | ||
{ | ||
internal class FixedArrayDefinition : TypeDefinition | ||
{ | ||
public TypeDefinition ElementType { get; init; } | ||
public int Size { get; init; } | ||
public bool IsPrimitive { get; init; } | ||
} | ||
public TypeDefinition ElementType { get; init; } | ||
public int Size { get; init; } | ||
public bool IsPrimitive { get; init; } | ||
} |
19 changes: 9 additions & 10 deletions
19
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/FunctionDefinitionBase.cs
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class FunctionDefinitionBase : IDefinition, ICanGenerateXmlDoc, IObsoletionAware | ||
{ | ||
internal class FunctionDefinitionBase : IDefinition, ICanGenerateXmlDoc, IObsoletionAware | ||
{ | ||
public TypeDefinition ReturnType { get; set; } | ||
public FunctionParameter[] Parameters { get; set; } | ||
public string ReturnComment { get; set; } | ||
public string Content { get; set; } | ||
public string Name { get; set; } | ||
public Obsoletion Obsoletion { get; set; } | ||
} | ||
public TypeDefinition ReturnType { get; set; } | ||
public FunctionParameter[] Parameters { get; set; } | ||
public string ReturnComment { get; set; } | ||
public string Content { get; set; } | ||
public string Name { get; set; } | ||
public Obsoletion Obsoletion { get; set; } | ||
} |
13 changes: 6 additions & 7 deletions
13
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/FunctionParameter.cs
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal class FunctionParameter : ICanGenerateXmlDoc | ||
{ | ||
internal class FunctionParameter : ICanGenerateXmlDoc | ||
{ | ||
public string Name { get; init; } | ||
public TypeDefinition Type { get; init; } | ||
public string Content { get; set; } | ||
} | ||
public string Name { get; init; } | ||
public TypeDefinition Type { get; init; } | ||
public string Content { get; set; } | ||
} |
9 changes: 4 additions & 5 deletions
9
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/ICanGenerateXmlDoc.cs
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal interface ICanGenerateXmlDoc | ||
{ | ||
internal interface ICanGenerateXmlDoc | ||
{ | ||
string Content { get; } | ||
} | ||
string Content { get; } | ||
} |
9 changes: 4 additions & 5 deletions
9
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/IDefinition.cs
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal interface IDefinition | ||
{ | ||
internal interface IDefinition | ||
{ | ||
string Name { get; } | ||
} | ||
string Name { get; } | ||
} |
9 changes: 4 additions & 5 deletions
9
FFmpeg.AutoGen.CppSharpUnsafeGenerator/Definitions/IObsoletionAware.cs
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions | ||
namespace FFmpeg.AutoGen.CppSharpUnsafeGenerator.Definitions; | ||
|
||
internal interface IObsoletionAware | ||
{ | ||
internal interface IObsoletionAware | ||
{ | ||
Obsoletion Obsoletion { get; } | ||
} | ||
Obsoletion Obsoletion { get; } | ||
} |
Oops, something went wrong.