mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 19:35:34 +00:00
some new list constructors, marshallers, and interface related api
svn path=/trunk/gtk-sharp/; revision=89417
This commit is contained in:
parent
373951876b
commit
e948f26420
|
@ -42,6 +42,18 @@
|
|||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Handle">
|
||||
<MemberSignature Language="C#" Value="public abstract IntPtr Handle { get; };" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.IntPtr</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>Handle property.</summary>
|
||||
<value>a pointer to a native object.</value>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
<Docs>
|
||||
<summary>GInterfaceAdapter abstract class.</summary>
|
||||
|
|
|
@ -160,5 +160,23 @@
|
|||
<remarks>Constructs a native GList containing a set of member objects.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public List (Array elements, Type element_type, bool owned, bool elements_owned);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters>
|
||||
<Parameter Name="elements" Type="System.Array" />
|
||||
<Parameter Name="element_type" Type="System.Type" />
|
||||
<Parameter Name="owned" Type="System.Boolean" />
|
||||
<Parameter Name="elements_owned" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="elements">Array on elements to build the list.</param>
|
||||
<param name="element_type">The Type of the elements.</param>
|
||||
<param name="owned">Indicates if the list reference must be released on finalization.</param>
|
||||
<param name="elements_owned">Indicates if the list members must be released on finalization.</param>
|
||||
<summary>Public constructor.</summary>
|
||||
<remarks>Constructs a native GList containing a set of member objects.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -326,5 +326,52 @@
|
|||
<since version="Gtk# 2.4" />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Free">
|
||||
<MemberSignature Language="C#" Value="public static void Free (IntPtr[] ptrs);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="ptrs" Type="System.IntPtr[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="ptrs">An array of native memory addresses.</param>
|
||||
<summary>Frees an array of native memory locations.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PtrToStringArrayGFree">
|
||||
<MemberSignature Language="C#" Value="public static string[] PtrToStringArrayGFree (IntPtr string_array);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.String[]</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="string_array" Type="System.IntPtr" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="string_array">Pointer to a null-terminated string array.</param>
|
||||
<summary>Marshal a null-terminated string array to a managed array.</summary>
|
||||
<returns>A string array.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="StringArrayToNullTermPointer">
|
||||
<MemberSignature Language="C#" Value="public static IntPtr[] StringArrayToNullTermPointer (string[] strs);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.IntPtr[]</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="strs" Type="System.String[]" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="strs">an array of strings.</param>
|
||||
<summary>Marshals a managed string array to a native null-terminated array.</summary>
|
||||
<returns>An array of native string pointers.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -101,5 +101,23 @@
|
|||
<remarks>Constructs a native GList containing a set of member objects.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public SList (Array members, Type element_type, bool owned, bool elements_owned);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters>
|
||||
<Parameter Name="members" Type="System.Array" />
|
||||
<Parameter Name="element_type" Type="System.Type" />
|
||||
<Parameter Name="owned" Type="System.Boolean" />
|
||||
<Parameter Name="elements_owned" Type="System.Boolean" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="members">An array of list member objects.</param>
|
||||
<param name="element_type">The type of the members.</param>
|
||||
<param name="owned">Indicates if the list reference must be released on finalization.</param>
|
||||
<param name="elements_owned">Indicates if the list members must be released on finalization.</param>
|
||||
<summary>Public constructor.</summary>
|
||||
<remarks>Constructs a native GList containing a set of member objects.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
|
@ -636,5 +636,17 @@
|
|||
<remarks>Note that casting a <see cref="T:GLib.Value" /> to any enum type will invoke this operator.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public Value (GLib.GInterfaceAdapter val);" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters>
|
||||
<Parameter Name="val" Type="GLib.GInterfaceAdapter" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="val">To be added.</param>
|
||||
<summary>Public constructor.</summary>
|
||||
<remarks>Constructs a native GValue from an interface adapter object, wrapping its underlying managed interface.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
|
|
Loading…
Reference in a new issue