Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 3ba411e

Browse files
authored
Merge pull request #1054 from sharpdx/fix-sharpgen
Fix codegen with SharpGenTools
2 parents 3644606 + 81091d6 commit 3ba411e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

Source/Directory.build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</PropertyGroup>
5151

5252
<ItemGroup>
53-
<PackageReference Include="SharpGenTools.Sdk" Version="1.1.0" PrivateAssets="All" />
53+
<PackageReference Include="SharpGenTools.Sdk" Version="1.1.1-ci462" PrivateAssets="All" />
5454
<PackageReference Include="SharpGen.Doc.Msdn.Tasks" Version="1.1.0" PrivateAssets="All" />
5555
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="All"/>
5656
<SharpGenGlobalNamespaceOverrides Include="InterfaceArray" Override="ComArray" />

Source/SharpDX.Direct2D1/Mapping-direct2d1.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<context>sharpdx-direct2d1-ext</context>
6666
<context>dcommon</context>
6767
<context>d2d1</context>
68-
<context>d2derr</context>
68+
<context>D2DErr</context>
6969
<context>d2d1_1</context>
7070
<context>d2d1_2</context>
7171
<context>d2d1_3</context>
@@ -86,6 +86,8 @@
8686

8787
<create class="D2D1" />
8888
<context-clear />
89+
90+
<define struct="SharpDX.DirectWrite.GdiInterop.FontSignature" sizeof="24" />
8991
</extension>
9092

9193
<bindings>

Source/SharpDX.Direct3D12/ShaderBytecode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ internal void UpdateNative(ref __Native native, IntPtr pinBuffer)
7373
native.Pointer = pinBuffer;
7474
if (managedData != null)
7575
{
76-
native.Size = managedData.Length;
76+
native.Size = (IntPtr)managedData.Length;
7777
}
7878
}
7979
}

0 commit comments

Comments
 (0)