зеркало из https://github.com/mono/mail-archives.git
75 строки
2.5 KiB
HTML
75 строки
2.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] ListBase struct
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mkestner%40ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="003741.html">
|
|
<LINK REL="Next" HREF="003743.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] ListBase struct
|
|
</H1>
|
|
<B>Mike Kestner
|
|
</B>
|
|
<A HREF="mailto:mkestner%40ximian.com"
|
|
TITLE="[Gtk-sharp-list] ListBase struct">mkestner@ximian.com
|
|
</A><BR>
|
|
<I>Fri, 02 Apr 2004 15:33:32 -0600</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="003741.html">[Gtk-sharp-list] ListBase struct
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003743.html">[Gtk-sharp-list] lots of hot .pc on .pc action
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3742">[ date ]</a>
|
|
<a href="thread.html#3742">[ thread ]</a>
|
|
<a href="subject.html#3742">[ subject ]</a>
|
|
<a href="author.html#3742">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>On Fri, 2004-04-02 at 14:20, Jeremy Wells wrote:
|
|
|
|
><i> GnomeVFSMimeApplication self = new GnomeVFSMimeApplication();
|
|
</I>><i> self = (GnomeVFSMimeApplication) Marshal.PtrToStructure (raw,
|
|
</I>><i> self.GetType ());
|
|
</I>><i>
|
|
</I>><i> with the very last line being the problem. I can't understand how
|
|
</I>><i> ListBase is even involved in this. can anyone help me out? Original file
|
|
</I>><i> is attached.
|
|
</I>
|
|
It's because of this line in your GnomeVFSMimeApplication declaration:
|
|
|
|
public List supported_uri_schemes;
|
|
|
|
That field is most likely a GList*, and should be represented as a
|
|
private IntPtr field. You can expose a GLib.List property to wrap the
|
|
raw list pointer in the field.
|
|
|
|
--
|
|
Mike Kestner <<A HREF="mailto:mkestner@ximian.com">mkestner@ximian.com</A>>
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="003741.html">[Gtk-sharp-list] ListBase struct
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003743.html">[Gtk-sharp-list] lots of hot .pc on .pc action
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3742">[ date ]</a>
|
|
<a href="thread.html#3742">[ thread ]</a>
|
|
<a href="subject.html#3742">[ subject ]</a>
|
|
<a href="author.html#3742">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|