Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix the definition

  • Loading branch information...
commit a50be20946daa0220bb5ae52e262fcd75ea46ad5 1 parent 6a892f4
Miguel de Icaza authored March 22, 2011

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. 12  src/ObjCRuntime/NSStringMarshal.cs
12  src/ObjCRuntime/NSStringMarshal.cs
... ...
@@ -1,19 +1,19 @@
1 1
 using System.Runtime.InteropServices;
2 2
 using System;
3  
-using System.Foundation;
  3
+using MonoMac.Foundation;
4 4
 
5  
-namespace MonoTouch.ObjCRuntime {
  5
+namespace MonoMac.ObjCRuntime {
6 6
 
7  
-	public struct NSStringStruct {
  7
+	public unsafe struct NSStringStruct {
8 8
 		public IntPtr ClassPtr;
9  
-		public int Flags
  9
+		public int Flags;
10 10
 		public char *UnicodePtr;
11  
-		public int Lenght;
  11
+		public int Length;
12 12
 
13 13
 		// The class pointer that we picked at runtime
14 14
 		public readonly static IntPtr ReferencePtr;
15 15
 		
16  
-		public static NSStringStruct ()
  16
+		static NSStringStruct ()
17 17
 		{
18 18
 			using (var k = new NSString (""))
19 19
 				ReferencePtr = Marshal.ReadIntPtr (k.Handle);

0 notes on commit a50be20

Please sign in to comment.
Something went wrong with that request. Please try again.