Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update CHANGELOG, remove extra MarshalAs
  • Loading branch information
vmuriart committed Feb 26, 2017
commit 9b7089209f7466a8aebe23c981186bc5a69867a4
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][].
- Fixed wrong version number in `conda.recipe` (#398)
- Fixed fixture location for Python tests and `Embedded_Tests`
- Fixed `PythonException` crash during Shutdown (#400)
- Fixed `Py_Main` & `PySys_SetArgvEx` no mem error on `UCS4/PY3` (#399)

### Removed

Expand Down
4 changes: 2 additions & 2 deletions src/runtime/runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ internal unsafe static extern IntPtr
public unsafe static extern int
Py_Main(
int argc,
[MarshalAs(UnmanagedType.SysUInt)] IntPtr lplpargv
IntPtr lplpargv
);

public static int Py_Main(int argc, string[] argv)
Expand Down Expand Up @@ -2120,7 +2120,7 @@ internal unsafe static extern IntPtr
internal unsafe static extern void
PySys_SetArgvEx(
int argc,
[MarshalAs(UnmanagedType.SysUInt)] IntPtr lplpargv,
IntPtr lplpargv,
int updatepath
);

Expand Down