示例#1
0
文件: Found.cs 项目: MrJoe/lat
		public static GnomeKeyring.Found New(IntPtr raw) {
			if (raw == IntPtr.Zero) {
				return GnomeKeyring.Found.Zero;
			}
			GnomeKeyring.Found self = new GnomeKeyring.Found();
			self = (GnomeKeyring.Found) Marshal.PtrToStructure (raw, self.GetType ());
			return self;
		}
示例#2
0
 public static GnomeKeyring.Found New(IntPtr raw)
 {
     if (raw == IntPtr.Zero)
     {
         return(GnomeKeyring.Found.Zero);
     }
     GnomeKeyring.Found self = new GnomeKeyring.Found();
     self = (GnomeKeyring.Found)Marshal.PtrToStructure(raw, self.GetType());
     return(self);
 }
示例#3
0
 static extern void gnome_keyring_found_free(ref GnomeKeyring.Found raw);