File tree 3 files changed +9
-8
lines changed 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class TestDomainReload
14
14
/// At the time this test was written, there was a very annoying
15
15
/// seemingly random crash bug when integrating pythonnet into Unity.
16
16
///
17
- /// The repro steps we that David Lassonde, Viktoria Kovecses and
17
+ /// The repro steps that David Lassonde, Viktoria Kovecses and
18
18
/// Benoit Hudson eventually worked out:
19
19
/// 1. Write a HelloWorld.cs script that uses Python.Runtime to access
20
20
/// some C# data from python: C# calls python, which calls C#.
Original file line number Diff line number Diff line change @@ -32,9 +32,10 @@ public static void TestMemoryMapping()
32
32
Assert . That ( Marshal . ReadInt64 ( page ) , Is . EqualTo ( 17 ) ) ;
33
33
34
34
// Mark it read-execute, now we can't write anymore.
35
- // We can't actually test access protectoin under Windows,
36
- // because AccessViolationException is assumed to mean we're in a
37
- // corrupted state:
35
+ //
36
+ // We can't actually test access protection under Windows, because
37
+ // AccessViolationException is assumed to mean we're in a corrupted
38
+ // state:
38
39
// https://stackoverflow.com/questions/3469368/how-to-handle-accessviolationexception
39
40
mapper . SetReadExec ( page , len ) ;
40
41
Assert . That ( Marshal . ReadInt64 ( page ) , Is . EqualTo ( 17 ) ) ;
Original file line number Diff line number Diff line change @@ -232,10 +232,10 @@ public enum MachineType
232
232
} ;
233
233
234
234
/// <summary>
235
- /// Map lower-case version of the python machine name to the processor
236
- /// type. There are aliases, e.g. x86_64 and amd64 are two names for
237
- /// the same thing. Make sure to lower-case the search string, because
238
- /// capitalization can differ.
235
+ /// Map lower-case version of the python machine name to the processor
236
+ /// type. There are aliases, e.g. x86_64 and amd64 are two names for
237
+ /// the same thing. Make sure to lower-case the search string, because
238
+ /// capitalization can differ.
239
239
/// </summary>
240
240
static readonly Dictionary < string , MachineType > MachineTypeMapping = new Dictionary < string , MachineType > ( )
241
241
{
You can’t perform that action at this time.
0 commit comments