Skip to content

Commit 998a1f8

Browse files
committed
Automatically generate correct marshalling for callbacks
1 parent ccccb01 commit 998a1f8

File tree

2 files changed

+1
-52
lines changed

2 files changed

+1
-52
lines changed

Win32/ComStream.cs

Lines changed: 0 additions & 51 deletions
This file was deleted.

Win32/ComStreamShadow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private static Result CloneImpl(IntPtr thisPtr, out IntPtr streamPointer)
257257
var shadow = ToShadow<ComStreamShadow>(thisPtr);
258258
var callback = ((IStream)shadow.Callback);
259259
var clone = callback.Clone();
260-
streamPointer = ComStream.ToIntPtr(clone);
260+
streamPointer = ComStreamShadow.ToIntPtr(clone);
261261
}
262262
catch (SharpGenException exception)
263263
{

0 commit comments

Comments
 (0)