Fixed alignment errors when casting debug info types
This commit is contained in:
parent
7c74ff70a3
commit
92d6635c4e
|
@ -11,7 +11,8 @@ namespace VsChromium.Core.Win32.Debugging {
|
||||||
public uint dwDebugInfoFileOffset;
|
public uint dwDebugInfoFileOffset;
|
||||||
public uint nDebugInfoSize;
|
public uint nDebugInfoSize;
|
||||||
public IntPtr lpThreadLocalBase;
|
public IntPtr lpThreadLocalBase;
|
||||||
public PTHREAD_START_ROUTINE lpStartAddress;
|
// x1nix: Alignment fix, as PTHREAD_START_ROUTINE is failing to Marshal
|
||||||
|
public IntPtr lpStartAddress;
|
||||||
public IntPtr lpImageName;
|
public IntPtr lpImageName;
|
||||||
public ushort fUnicode;
|
public ushort fUnicode;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@ namespace VsChromium.Core.Win32.Debugging {
|
||||||
public struct CREATE_THREAD_DEBUG_INFO {
|
public struct CREATE_THREAD_DEBUG_INFO {
|
||||||
public IntPtr hThread;
|
public IntPtr hThread;
|
||||||
public IntPtr lpThreadLocalBase;
|
public IntPtr lpThreadLocalBase;
|
||||||
public PTHREAD_START_ROUTINE lpStartAddress;
|
// x1nix: Alignment fix, as PTHREAD_START_ROUTINE is failing to Marshal
|
||||||
|
public IntPtr lpStartAddress;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,9 +0,0 @@
|
||||||
// Copyright 2013 The Chromium Authors. All rights reserved.
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace VsChromium.Core.Win32.Debugging {
|
|
||||||
public delegate uint PTHREAD_START_ROUTINE(IntPtr lpThreadParameter);
|
|
||||||
}
|
|
Loading…
Reference in New Issue