Author: mkestner
Date: 2005-03-04 14:04:57 -0500 (Fri, 04 Mar 2005)
New Revision: 41460

Modified:
   trunk/gtk-sharp/doc/en/GLib/Marshaller.xml
   trunk/gtk-sharp/doc/en/Gtk/ModuleInitFunc.xml
Log:
some docs for new marshalers

Modified: trunk/gtk-sharp/doc/en/GLib/Marshaller.xml
===================================================================
--- trunk/gtk-sharp/doc/en/GLib/Marshaller.xml  2005-03-04 18:59:09 UTC (rev 
41459)
+++ trunk/gtk-sharp/doc/en/GLib/Marshaller.xml  2005-03-04 19:04:57 UTC (rev 
41460)
@@ -29,10 +29,10 @@
         <Parameter Name="ptr" Type="System.IntPtr" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Marshals a utf8 string from native memory and frees the 
native string.</summary>
         <param name="ptr">a <see cref="T:System.IntPtr" /></param>
         <returns>a <see cref="T:System.String" /></returns>
-        <remarks>To be added</remarks>
+        <remarks />
       </Docs>
     </Member>
     <Member MemberName="PtrToStringGFree">
@@ -45,7 +45,7 @@
         <Parameter Name="ptrs" Type="System.IntPtr[]" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Marshals an array of utf8 string from native memory and frees 
the native strings.</summary>
         <param name="ptrs">a <see cref="T:System.IntPtr[]" /></param>
         <returns>a <see cref="T:System.String[]" /></returns>
         <remarks>To be added</remarks>
@@ -61,10 +61,10 @@
         <Parameter Name="str" Type="System.String" />
       </Parameters>
       <Docs>
-        <summary>To be added</summary>
+        <summary>Marshal a string to a native Utf8 string using GLib memory 
allocation.</summary>
         <param name="str">a <see cref="T:System.String" /></param>
         <returns>a <see cref="T:System.IntPtr" /></returns>
-        <remarks>To be added</remarks>
+        <remarks />
       </Docs>
     </Member>
     <Member MemberName="ArgvToArrayPtr">
@@ -185,5 +185,37 @@
         <remarks>This is a wrapper for marshalling between managed 
String.Format-style methods and unmanaged printf-style ones. The managed 
function should take a <see cref="T:System.String" /> format, and a <see 
langword="params" /> array of <see cref="T:System.Object" />, and pass that to 
<see cref="M:GLib.Marshaller.StringFormat" />. <see 
cref="M:GLib.Marshaller.StringFormat" /> will format the data, and then make 
sure that any percent signs in the result are doubled so that they can safely 
be passed to an unmanaged method that expects a printf-style string (and 
following arguments).</remarks>
       </Docs>
     </Member>
+    <Member MemberName="Utf8PtrToString">
+      <MemberSignature Language="C#" Value="public static string 
Utf8PtrToString (IntPtr ptr);" />
+      <MemberType>Method</MemberType>
+      <ReturnValue>
+        <ReturnType>System.String</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="ptr" Type="System.IntPtr" />
+      </Parameters>
+      <Docs>
+        <summary>Marshals a native Utf8 string to a managed string.</summary>
+        <param name="ptr">a <see cref="T:System.IntPtr" /></param>
+        <returns>a <see cref="T:System.String" /></returns>
+        <remarks />
+      </Docs>
+    </Member>
+    <Member MemberName="PtrToStructureAlloc">
+      <MemberSignature Language="C#" Value="public static IntPtr 
PtrToStructureAlloc (object o);" />
+      <MemberType>Method</MemberType>
+      <ReturnValue>
+        <ReturnType>System.IntPtr</ReturnType>
+      </ReturnValue>
+      <Parameters>
+        <Parameter Name="o" Type="System.Object" />
+      </Parameters>
+      <Docs>
+        <summary>To be added</summary>
+        <param name="o">a <see cref="T:System.Object" /></param>
+        <returns>a <see cref="T:System.IntPtr" /></returns>
+        <remarks>To be added</remarks>
+      </Docs>
+    </Member>
   </Members>
-</Type>
\ No newline at end of file
+</Type>

Modified: trunk/gtk-sharp/doc/en/Gtk/ModuleInitFunc.xml
===================================================================
--- trunk/gtk-sharp/doc/en/Gtk/ModuleInitFunc.xml       2005-03-04 18:59:09 UTC 
(rev 41459)
+++ trunk/gtk-sharp/doc/en/Gtk/ModuleInitFunc.xml       2005-03-04 19:04:57 UTC 
(rev 41460)
@@ -1,5 +1,5 @@
 <Type Name="ModuleInitFunc" FullName="Gtk.ModuleInitFunc">
-  <TypeSignature Language="C#" Maintainer="auto" Value="public sealed delegate 
void ModuleInitFunc (out int argc, string argv);" />
+  <TypeSignature Language="C#" Maintainer="auto" Value="public sealed delegate 
void ModuleInitFunc (out int argc, string [] argv);" />
   <AssemblyInfo>
     <AssemblyName>gtk-sharp</AssemblyName>
     <AssemblyVersion>0.0.0.0</AssemblyVersion>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to