glib-sharp2.12.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Marshalling utilitiesUtility class for internal wrapper useSystem.ObjectMethodSystem.StringMarshals a utf8 string from native memory and frees the native string.
a a MethodSystem.String[]Marshals an array of utf8 string from native memory and frees the native strings.
a a MethodSystem.IntPtrMarshal a string to a native Utf8 string using GLib memory allocation.
a a MethodSystem.IntPtrObsolete.
a a Replaced by MethodSystem.String[]Obsolete.
a
a a Replaced by MethodSystem.IntPtrMarshals DateTime structures to native time_t values.
a a MethodSystem.DateTimeMarshals native time_t values to DateTime values.
a a MethodSystem.CharMarshals a UCS4 character represented as an uint to a UTF16 char.
a a MethodSystem.UInt32Marshals a UTF16 char to a UCS4 character represented as an uint.
a a MethodSystem.StringSystem.ParamArrayWrapper for marshalling between String.Format-style methods and printf-style ones
a -style format string
arguments for a This is a wrapper for marshalling between managed String.Format-style methods and unmanaged printf-style ones. The managed function should take a format, and a array of , and pass that to . 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).MethodSystem.StringMarshals a native Utf8 string to a managed string.
a a MethodSystem.String[]Marshals an array of native Utf8 strings to an array of managed strings.
a a MethodSystem.IntPtr
the structure to marshal
Marshals a structure to newly-allocated memory.a pointer to the newly-allocated memoryThis is like except that it allocates the memory for the unmanaged copy itself. You should free the memory with when you are done with it.MethodSystem.VoidFree a native pointer allocated by GLib.
a MethodSystem.String
A native filename-encoded string pointer.
Marshals a native filename-encoded string to a managed string.A managed string.The native pointer is not freed after marshaling. Use with const strings.MethodSystem.String
A native filename-encoded string pointer.
Marshals a native filename-encoded string to a managed string.A managed string.The native pointer is freed after marshaling.MethodSystem.IntPtr
A managed string to be marshaled.
Marshals a string to a filename encoded native pointer.A pointer to a newly allocated native string.MethodSystem.Array
The list to be marshaled.
The type of the list elements.
Marshals a native list to a typed array.An array of .MethodSystem.Void
An array of native memory addresses.
Frees an array of native memory locations.MethodSystem.String[]
Pointer to a null-terminated string array.
Marshal a null-terminated string array to a managed array.A string array.MethodSystem.IntPtr[]
an array of strings.
Marshals a managed string array to a native null-terminated array.An array of native string pointers.MethodSystem.IntPtr
Size in bytes to be allocated.
Allocates a block of heap memory using the glib allocator.A pointer to the block.MethodSystem.String[]
Pointer to a null-terminated string array.
Indicates if the memory is owned and should be released.
Marshals a native null-terminated string array to a managed string array.an array of managed strings.MethodSystem.Void
Pointer to a native null-terminated string array.
Frees a string array, including its member strings.