GLib
Description:
Content:
Namespaces:
- Aligned
- AtomicInt
- AtomicPointer
- AtomicUint
- Base64
- Bit
- CharacterSet
- ChildWatch -
- DirUtils
- Environ
- Environment
- FileUtils
- Filename
- Hostname
- Idle
- Intl
- KeyFileDesktop
- Log
- Markup
- Math - Binding to the C standard library's maths functions
- Memory
- OsInfoKey
- Path
- Priority
- Process
- Random
- Shell
- Slice
- SpacedPrimes
- Test
- Timeout
- Unix
- Uuid
- Version
- Win32
Classes:
- Array - Contains the public fields of a GArray.
- AsyncQueue - An opaque data structure which represents an asynchronous queue.
- BookmarkFile - `GBookmarkFile` lets you parse, edit or create files containing bookmarks.
- BusName
- ByteArray - Contains the public fields of a GByteArray.
- Bytes - A simple refcounted data type representing an immutable sequence of zero or more bytes from an unspecified origin.
- Checksum - GLib provides a generic API for computing checksums (or ‘digests’) for a sequence of arbitrary bytes, using various hashing algorithms like MD5, SHA-1 and SHA-256.
- ChildWatchSource
- Completion - `GCompletion` provides support for automatic completion of a string using any group of target strings.
- DateTime - `GDateTime` is a structure that combines a Gregorian date and time into a single structure.
- Dir - An opaque structure representing an opened directory.
- Error - The `GError` structure contains information about an error that has occurred.
- FileStream - Used to control a I/O stream
- GenericArray - Contains the public fields of a pointer array.
- GenericSet - The GenericSet struct is an opaque data structure to represent a Hash Table.
- HashTable -
- Hmac - HMACs should be used when producing a cookie or hash based on data and a key.
- IOChannel - The `GIOChannel` data type aims to provide a portable method for using file descriptors, pipes, and sockets, and integrating them into the main event loop (see [struct@GLib.
- IOSource
- IdleSource
- KeyFile - `GKeyFile` parses .
- List - The List struct is used for each element in a doubly-linked list.
- MainContext - The `GMainContext` struct is an opaque data type representing a set of sources to be handled in a main loop.
- MainContextPusher - Opaque type.
- MainLoop - The `GMainLoop` struct is an opaque data type representing the main event loop of a GLib or GTK application.
- MappedFile - The MappedFile represents a file mapping created with MappedFile.
- MarkupParseContext - A parse context is used to parse a stream of bytes that you expect to contain marked-up text.
- MatchInfo - A GMatchInfo is an opaque struct used to return information about matches.
- MemVTable - A set of functions used to perform memory allocation.
- MutexLocker - Opaque type.
- Node - The Node struct represents one node in a n-ary tree.
- ObjectPath
- OptionContext - A `GOptionContext` struct defines which options are accepted by the commandline option parser.
- OptionGroup - A `GOptionGroup` struct defines the options in a single group.
- PathBuf - `GPathBuf` is a helper type that allows you to easily build paths from individual elements, using the platform specific conventions for path separators.
- PatternSpec - A `GPatternSpec` struct is the 'compiled' form of a glob-style pattern.
- Private
- PtrArray -
- Queue - Contains the public fields of a Queue.
- RWLockReaderLocker - Opaque type.
- RWLockWriterLocker - Opaque type.
- Rand - The GRand struct is an opaque data structure.
- RecMutexLocker - Opaque type.
- RefString - A typedef for a reference-counted string.
- Regex - A `GRegex` is the "compiled" form of a regular expression pattern.
- SList - The SList struct is used for each element in the singly-linked list.
- Scanner - `GScanner` provides a general-purpose lexical scanner.
- Sequence - The Sequence struct is an opaque data type representing a sequence data type.
- SequenceIter - The SequenceIter struct is an opaque data type representing an iterator pointing into a Sequence.
- Source
- SourceCallbackFuncs - The `GSourceCallbackFuncs` struct contains functions for managing callback objects.
- StringBuilder - A `GString` is an object that handles the memory management of a C string.
- StringChunk - `GStringChunk` provides efficient storage of groups of strings
- StrvBuilder - `GStrvBuilder` is a helper object to build a null-terminated string arrays.
- TestCase - An opaque structure representing a test case.
- TestSuite - An opaque structure representing a test suite.
- Thread - The Thread struct represents a running thread.
- ThreadPool - The `GThreadPool` struct represents a thread pool.
- TimeZone - A `GTimeZone` represents a time zone, at no particular point in time.
- TimeoutSource -
- Timer - `GTimer` records a start time, and counts microseconds elapsed since that time.
- Tree - The GTree struct is an opaque data structure representing a balanced binary tree.
- TreeNode - An opaque type which identifies a specific node in a Tree.
- Uri - The `GUri` type and related functions can be used to parse URIs into their components, and build valid URIs from individual components.
- Variant - `GVariant` is a variant datatype; it can contain one or more values along with information about the type of the values.
- VariantBuilder - A utility type for constructing container-type Variant instances.
- VariantDict - VariantDict is a mutable interface to Variant dictionaries.
- VariantIter - VariantIter is an opaque data structure and can only be accessed using the following functions.
- VariantType - A type in the [type@GLib.
Structs:
- Cond - The Cond struct is an opaque data structure that represents a condition.
- Datalist
- Date - `GDate` is a struct for calendrical calculations.
- DateDay - Integer representing a day of the month; between 1 and 31.
- DateYear - Integer type representing a year.
- DebugKey - Associates a string with a bit flag.
- GenericSetIter - A GHashTableIter structure represents an iterator that can be used to iterate over the elements of a GenericSet .
- HashTableIter -
- IConv - The GIConv struct wraps an
iconv
conversion descriptor. - LogField - Structure representing a single field in a structured log entry.
- MarkupParser - Any of the fields in MarkupParser can be null, in which case they will be ignored.
- Mutex - The Mutex struct is an opaque data structure to represent a mutex (mutual exclusion).
- Once - A Once struct controls a one-time initialization function.
- OptionEntry - A GOptionEntry struct defines a single option.
- Pid - A type which is used to hold a process identification.
- PollFD - Represents a file descriptor, which events to poll for, and which events occurred.
- Quark - A GQuark is a non-zero integer which uniquely identifies a particular string.
- RWLock - The GRWLock struct is an opaque data structure to represent a reader-writer lock.
- RecMutex - The GRecMutex struct is an opaque data structure to represent a recursive mutex.
- ScannerConfig - Specifies the Scanner parser configuration.
- SourceFuncs - The `GSourceFuncs` struct contains a table of functions used to handle event sources in a generic manner.
- Stat - A type corresponding to the appropriate struct type for the stat system call, depending on the platform and/or compiler being used.
- StaticMutex - A StaticMutex works like a Mutex.
- StaticPrivate
- StaticRWLock - The StaticRWLock struct represents a read-write lock.
- StaticRecMutex - A StaticRecMutex works like a StaticMutex, but it can be locked multiple times by one thread.
- Time - Structure holding a calendar date and time broken down into its components.
- TimeSpan - A value representing an interval of time, in microseconds.
- TimeVal - Represents a precise time, with seconds and microseconds.
- TokenValue - A union holding the value of the token.
- UTimBuf - Specifies access and modification times for a files
- UriParamsIter - Many URI schemes include one or more attribute/value pairs as part of the URI value.
- pointer
Enums:
- ByteOrder
- ChecksumType - The hashing algorithm to be used by Checksum when performing the digest of some data.
- CompareOperator - Comparison operators for use with GLib.assert_cmp*() functions
- DateDMY - This enumeration isn't used in the API, but may be useful if you need to mark a number as a day, month, or year.
- DateMonth - Enumeration representing a month; values are g_date_january, g_date_february, etc.
- DateWeekday - Enumeration representing a day of the week; g_date_monday, g_date_tuesday, etc.
- ErrorType - The possible errors, used in the
v_error
field of TokenValue, when the token is a g_token_error. - FileSeek
- FileSetContentsFlags - Flags to pass to set_contents_full to affect its safety and performance.
- FileTest - A test to perform on a file using test.
- FormatSizeFlags - Flags to modify the format of the string returned by format_size.
- IOCondition - A bitwise combination representing a condition to watch for on an event source.
- IOFlags - Specifies properties of a IOChannel.
- IOStatus - Statuses returned by most of the IOFuncs functions.
- KeyFileFlags - Flags which influence the parsing.
- LocaleCategory
- LogLevelFlags - Flags specifying the level of log messages.
- LogWriterOutput - Return values from LogWriterFuncs to indicate whether the given log entry was successfully handled by the writer, or whether there was an error in handling it (and hence a fallback writer should be used).
- MainContextFlags - Flags to pass to MainContext.with_flags which affect the behaviour of a MainContext.
- MarkupParseFlags - Flags that affect the behaviour of the parser.
- NormalizeMode - Defines how a Unicode string is transformed in a canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character.
- OnceStatus - The possible statuses of a one-time initialization function controlled by a Once struct.
- OptionArg - The OptionArg enum values determine which type of extra argument the options expect to find.
- OptionFlags - Flags which modify individual options.
- ProcessSignal
- RegexCompileFlags - Flags specifying compile-time options.
- RegexMatchFlags - Flags specifying match-time options.
- SeekType - An enumeration specifying the base position for a seek_position operation.
- SliceConfig
- SpawnFlags - Flags passed to spawn_sync, spawn_async and spawn_async_with_pipes.
- TestSubprocessFlags - Flags to pass to trap_subprocess to control input and output.
- TestTrapFlags - Test traps are guards around forked tests.
- ThreadPriority - Thread priorities.
- TimeType - Disambiguates a given time in two ways.
- TokenType - The possible types of token returned from each get_next_token call.
- TraverseFlags - Specifies which nodes are visited during several of the tree functions, including traverse and find.
- TraverseType - Specifies the type of traversal
performed by
g_tree_traverse
, traverse and find. - UnicodeBreakType - These are the possible line break classifications.
- UnicodeScript - The UnicodeScript enumeration identifies different writing systems.
- UnicodeType - These are the possible character classifications from the Unicode specification.
- UriFlags - Flags that describe a URI.
- UriHideFlags - Flags describing what parts of the URI to hide in to_string_partial.
- UriParamsFlags - Flags modifying the way parameters are handled by parse_params and UriParamsIter.
- UserDirectory - These are logical ids for special directories which are defined depending on the platform used.
Error domains:
- BookmarkFileError - Error codes returned by bookmark file parsing.
- ConvertError - Error codes returned by character set conversion routines.
- FileError - Values corresponding to
errno
codes returned from file operations on UNIX. - IOChannelError - Error codes returned by IOChannel operations.
- KeyFileError - Error codes returned by key file parsing.
- MarkupError - Error codes returned by markup parsing.
- NumberParserError - Error codes returned by functions converting a string to a number.
- OptionError - Error codes returned by option parsing.
- RegexError - Error codes returned by regular expressions functions.
- ShellError - Error codes returned by shell functions.
- SpawnError - Error codes returned by spawning processes.
- ThreadError - Possible errors of thread related functions.
- UriError - Error codes returned by Uri methods.
- VariantParseError - Error codes returned by parsing text-format GVariants.
Constants:
- public const ByteOrder BYTE_ORDER
- public const string OPTION_REMAINING
If a long option in the main group has this name, it is not treated as a regular option.
Delegates:
- public delegate bool ArraySearchFunc<G,T> (G element, T needle)
Specifies the type of a function used to test two values for equality.
- public delegate void ChildWatchFunc (Pid pid, int wait_status)
Prototype of a
GChildWatchSource
callback, called when a child process has exited. - public delegate int CompareDataFunc<G> (G a, G b)
Specifies the type of a comparison function used to compare two values.
- public delegate int CompareFunc<G> (G a, G b)
- public delegate string CompletionFunc (void* item)
Specifies the type of the function passed to Completion.
- public delegate int CompletionStrncmpFunc (string s1, string s2, size_t n)
Specifies the type of the function passed to
g_completion_set_compare
. - public delegate G CopyFunc<G> (G src)
A function of this signature is used to copy the node data when doing a deep-copy of a tree.
- public delegate void DataForeachFunc<G> (Quark key_id, G data)
Specifies the type of function passed to
g_dataset_foreach
. - public delegate void DestroyNotify (void* data)
Specifies the type of function which is called when a data element is destroyed.
- public delegate G DuplicateFunc<G> (G data)
The type of functions that are used to 'duplicate' an object.
- public delegate bool EqualFunc<G> (G a, G b)
- public delegate bool EqualFuncFull<G> (G a, G b)
Specifies the type of a function used to test two values for equality.
- public delegate void FreeFunc (void* data)
Declares a type of function which takes an arbitrary data pointer argument and has no return value.
- public delegate void Func<G> (G data)
- public delegate void HFunc<K,V> (K key, V value)
Specifies the type of the function passed to for_each.
- public delegate bool HRFunc<K,V> (K key, V value)
Specifies the type of the function passed to foreach_remove.
- public delegate uint HashFunc<K> (K key)
Specifies the type of the hash function which is passed to
g_hash_table_new
when a GenericSet is created. - public delegate bool IOFunc (IOChannel source, IOCondition condition)
Specifies the type of function passed to add_watch or add_watch_full, which is called when the requested condition on a IOChannel is satisfied.
- public delegate void LogFunc (string? log_domain, LogLevelFlags log_levels, string message)
Specifies the prototype of log handler functions.
- public delegate LogWriterOutput LogWriterFunc (LogLevelFlags log_level, LogField[] fields)
Writer function for log entries.
- public delegate void MarkupParserEndElementFunc (MarkupParseContext context, string element_name) throws MarkupError
- public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error)
- public delegate void MarkupParserPassthroughFunc (MarkupParseContext context, string passthrough_text, size_t text_len) throws MarkupError
- public delegate void MarkupParserStartElementFunc (MarkupParseContext context, string element_name, string[] attribute_names, string[] attribute_values) throws MarkupError
- public delegate void MarkupParserTextFunc (MarkupParseContext context, string text, size_t text_len) throws MarkupError
- public delegate void NodeForeachFunc<G> (Node<G> node)
Specifies the type of function passed to children_foreach.
- public delegate bool NodeTraverseFunc<G> (Node<G> node)
Specifies the type of function passed to traverse.
- public delegate G OnceFunc<G> ()
Specifies the type of the
func
functions passed to Thread or Thread.try. - public delegate bool OptionArgFunc (string option_name, string val, void* data) throws OptionError
The type of function to be passed as callback for g_option_arg_callback options.
- public delegate void OptionErrorFunc (OptionContext context, OptionGroup group, void* data, ref Error error)
The type of function to be used as callback when a parse error occurs.
- public delegate bool OptionParseFunc (OptionContext context, OptionGroup group, void* data) throws OptionError
The type of function that can be called before and after parsing.
- public delegate int PollFunc (PollFD[] ufds, int timeout_)
Specifies the type of function passed to set_poll_func.
- public delegate void PrintFunc (string text)
Specifies the type of the print handler functions.
- public delegate bool RegexEvalCallback (MatchInfo match_info, StringBuilder result)
Specifies the type of the function passed to replace_eval.
- public delegate void ScannerMsgFunc (Scanner scanner, string message, bool error)
Specifies the type of the message handler function.
- public delegate int SearchFunc<G,T> (G a, T b)
Specifies the type of a comparison function used to compare two values.
- public delegate int SequenceIterCompareFunc<G> (SequenceIter<G> a, SequenceIter<G> b)
A SequenceIterCompareFunc is a function used to compare iterators.
- public delegate void SignalHandlerFunc (int signum)
- public delegate void SourceCallbackGetFunc (void* cb_data, Source source, SourceFunc func)
- public delegate void SourceCallbackRefFunc (void* cb_data)
- public delegate void SourceCallbackUnrefFunc (void* cb_data)
- public delegate bool SourceCheckFunc (Source source)
- public delegate bool SourceDispatchFunc (Source source, SourceFunc? _callback)
- public delegate void SourceDisposeFunc (Source source)
Dispose function for
source
. - public delegate void SourceDummyMarshal ()
This is just a placeholder for ClosureMarshal, which cannot be used here for dependency reasons.
- public delegate void SourceFinalizeFunc (Source source)
- public delegate bool SourceFunc ()
- public delegate void SourceOnceFunc ()
A source function that is only called once before being removed from the main context automatically.
- public delegate bool SourcePrepareFunc (Source source, out int timeout_)
- public delegate void SpawnChildSetupFunc ()
Specifies the type of the setup function passed to spawn_async, spawn_sync and spawn_async_with_pipes, which can, in very limited ways, be used to affect the child's execution.
- public delegate void TestDataFunc ()
The type used for test case functions that take an extra pointer argument.
- public delegate void TestFixtureFunc (void* fixture)
The type used for functions that operate on test fixtures.
- public delegate void TestFunc ()
The type used for test case functions.
- public delegate G ThreadFunc<G> ()
- public delegate void ThreadPoolFunc<G> (owned G data)
- public delegate unowned string TranslateFunc (string str)
The type of functions which are used to translate user-visible strings, for <option>--help</option> output.
- public delegate bool TraverseFunc<K,V> (K key, V value)
Specifies the type of function passed to
g_tree_traverse
. - public delegate bool TraverseNodeFunc<K,V> (TreeNode<K,V> node)
Specifies the type of function passed to foreach_node.
- public delegate int TreeSearchFunc<K> (K key)
- public delegate void VoidFunc ()
Declares a type of function which takes no arguments and has no return value.
Functions:
- public unowned string C_ (string context, string str)
- public unowned string NC_ (string context, string str)
- public unowned string N_ (string str)
- public unowned string Q_ (string str)
- public unowned string _ (string str)
- public void assert (bool expr)
- public void assert_cmpfloat (double n1, CompareOperator cmp, double n2)
- public void assert_cmpfloat_with_epsilon (double n1, double n2, double epsilon)
- public void assert_cmphex (uint n1, CompareOperator cmp, uint n2)
- public void assert_cmpint (int n1, CompareOperator cmp, int n2)
- public void assert_cmpmem (uint8[] m1, uint8[] m2)
- public void assert_cmpstr (string? s1, CompareOperator cmp, string? s2)
- public void assert_cmpstrv (string[] strv1, string[] strv2)
- public void assert_cmpuint (uint n1, CompareOperator cmp, uint n2)
- public void assert_cmpvariant (Variant v1, Variant v2)
- public void assert_error (Error? error, Quark error_domain, int error_code)
- public void assert_false (bool expr)
- public void assert_no_error (Error? error)
- public void assert_nonnull (void* expr)
- public void assert_not_reached ()
- public void assert_null (void* expr)
- public void assert_true (bool expr)
- public void breakpoint ()
- public string convert (string str, ssize_t len, string to_codeset, string from_codeset, out size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError
Converts a string from one character set to another.
- public string convert_with_fallback (string str, ssize_t len, string to_codeset, string from_codeset, string? fallback = null, out size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError
Converts a string from one character set to another, possibly including fallback sequences for characters not representable in the output.
- public string convert_with_iconv (string str, ssize_t len, IConv converter, out size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError
Converts a string from one character set to another.
- public void critical (string format, ...)
- public unowned string dcgettext (string? domain, string msgid, int category)
This is a variant of dgettext that allows specifying a locale category instead of always using `LC_MESSAGES`.
- public void debug (string format, ...)
- public void debug_here ()
- public unowned string dgettext (string? domain, string msgid)
This function is a wrapper of dgettext which does not translate the message if the default domain as set with textdomain has no translations for the current locale.
- public unowned string dngettext (string? domain, string msgid, string msgid_plural, ulong n)
This function is a wrapper of
dngettext
which does not translate the message if the default domain as set with textdomain has no translations for the current locale. - public unowned string dpgettext (string? domain, string msgctxid, size_t msgidoffset)
This function is a variant of dgettext which supports a disambiguating message context.
- public unowned string dpgettext2 (string? domain, string context, string msgid)
This function is a variant of dgettext which supports a disambiguating message context.
- public void error (string format, ...)
- public string format_size (uint64 size, FormatSizeFlags flags = DEFAULT)
Formats a size.
- public string format_size_for_display (int64 size)
Formats a size (for example the size of a file) into a human readable string.
- public void free (void* mem)
- public void free_sized (void* mem, size_t size)
Frees the memory pointed to by
mem
, assuming it is has the givensize
. - public bool get_charset (out unowned string charset)
Obtains the character set for the current locale; you might use this character set as an argument to convert, to convert from the current locale's encoding to some other encoding.
- public bool get_console_charset (out unowned string charset)
Obtains the character set used by the console attached to the process, which is suitable for printing output to the terminal.
- public bool get_filename_charsets (out unowned string[] charsets)
Determines the preferred character sets used for filenames.
- public int64 get_monotonic_time ()
Queries the system monotonic time.
- public uint get_num_processors ()
Determine the approximate number of threads that the system will schedule simultaneously for this process.
- public int64 get_real_time ()
Queries the system wall-clock time.
- public unowned string gettext (string str)
- public void info (string format, ...)
- public bool likely (bool expression)
- public void log (string? log_domain, LogLevelFlags log_level, string format, ...)
Logs an error or debugging message.
- public void log_structured (string? log_domain, LogLevelFlags log_levels, ...)
Log a message with structured data.
- public void log_structured_array (LogLevelFlags log_levels, LogField[] fields)
Log a message with structured data.
- public void log_variant (string? log_domain, LogLevelFlags log_levels, Variant fields)
Log a message with structured data, accepting the data within a [type@GLib.
- public void logv (string? log_domain, LogLevelFlags log_level, string format, va_list args)
Logs an error or debugging message.
- public void* malloc (size_t n_bytes)
Allocates
n_bytes
bytes of memory. - public void* malloc0 (size_t n_bytes)
Allocates
n_bytes
bytes of memory, initialized to 0's. - public bool mem_is_system_malloc ()
Checks whether the allocator used by malloc is the system's malloc implementation.
- public void mem_profile ()
GLib used to support some tools for memory profiling, but this no longer works.
- public void mem_set_vtable (MemVTable vtable)
This function used to let you override the memory allocation function.
- public void message (string format, ...)
- public unowned string ngettext (string msgid, string msgid_plural, ulong n)
- public void on_error_query (string? prg_name = null)
Prompts the user with `[E]xit, [H]alt, show [S]tack trace or [P]roceed`.
- public void on_error_stack_trace (string? prg_name = null)
Invokes gdb, which attaches to the current process and shows a stack trace.
- public uint parse_debug_string (string? debug_string, DebugKey[] keys)
Parses a string containing debugging options into a guint containing bit flags.
- public int poll (PollFD[] fds, int timeout)
Polls
fds
, as with the poll system call, but portably. - public void print (string format, ...)
Outputs a formatted message via the print handler.
- public void printerr (string format, ...)
Outputs a formatted message via the error message handler.
- public void qsort_with_data<T> (T[] elems, size_t size, CompareDataFunc<T> compare_func)
- public void* realloc (void* mem, size_t n_bytes)
Reallocates the memory pointed to by
mem
, so that it now has space forn_bytes
bytes of memory. - public void return_if_fail (bool expr)
- public void return_if_reached ()
- public void return_val_if_fail (bool expr, ...)
- public void return_val_if_reached (...)
- public void set_print_handler (PrintFunc func)
Sets the print handler to
func
, or resets it to the default GLib handler if `NULL`. - public void set_printerr_handler (PrintFunc func)
Sets the handler for printing error messages to
func
, or resets it to the default GLib handler if `NULL`. - public void static_assert (bool expression)
- public string strdup (string str)
Duplicates a string.
- public string[] strdupv (string[] str_array)
Copies an array of strings.
- public unowned string strerror (int errnum)
Returns a string corresponding to the given error code, e.
- public void strfreev (owned string[] str_array)
Frees an array of strings, as well as each string it contains.
- public unowned string strsignal (int signum)
Returns a string describing the given signal, e.
- public bool strv_contains (string[] str_array, string str)
Checks if an array of strings contains the string
str
according to [func@GLib. - public uint strv_length (string[] str_array)
Returns the length of an array of strings.
- public void* try_malloc (size_t n_bytes)
Attempts to allocate
n_bytes
, and returns null on failure. - public void* try_malloc0 (size_t n_bytes)
Attempts to allocate
n_bytes
, initialized to 0's, and returns null on failure. - public void* try_realloc (void* mem, size_t n_bytes)
Attempts to realloc
mem
to a new size,n_bytes
, and returns null on failure. - public bool unlikely (bool expression)
- public void warn_if_fail (bool expr)
- public void warn_if_reached ()
- public void warning (string format, ...)
- public void warning_once (string format, ...)
Fields:
- public EqualFunc<void*> direct_equal
Compares two pointer arguments and returns true if they are equal.
- public HashFunc<void*> direct_hash
Converts a gpointer to a hash value.
- public EqualFunc<double?> double_equal
Compares the two double values being pointed to and returns true if they are equal.
- public HashFunc<double?> double_hash
Converts a pointer to a double to a hash value.
- public int errno
A preprocessor macro that expands to a thread-local modifiable lvalue of type int.
- public DestroyNotify g_free
Frees the memory pointed to by
mem
. - public DestroyNotify g_list_free
- public DestroyNotify g_variant_unref
- public EqualFunc<int64?> int64_equal
Compares the two int64 values being pointed to and returns true if they are equal.
- public HashFunc<int64?> int64_hash
Converts a pointer to a int64 to a hash value.
- public EqualFunc<int?> int_equal
Compares the two int values being pointed to and returns true if they are equal.
- public HashFunc<int?> int_hash
Converts a pointer to a int to a hash value.
- public MemVTable mem_profiler_table
- public FileStream stderr
The error stream
- public FileStream stdin
The input stream
- public FileStream stdout
The output stream
- public EqualFunc<string> str_equal
Compares two strings for byte-by-byte equality and returns true if they are equal.
- public HashFunc<string> str_hash
Converts a string to a hash value.
- public CompareFunc<string?> strcmp
- public EqualFunc<string[]> strv_equal