glib-2.0
Description:
Content:
Namespaces:
- GLib
Classes:
Structs:
Enums:
Error domains:
Constants:
Delegates:
- public delegate int PollFunc (PollFD[] ufds, int timeout_)
- public delegate void ChildWatchFunc (Pid pid, int status)
- public delegate void SourceDummyMarshal ()
- public delegate bool SourcePrepareFunc (Source source, out int timeout_)
- public delegate bool SourceCheckFunc (Source source)
- public delegate bool SourceDispatchFunc (Source source, SourceFunc _callback)
- public delegate void SourceFinalizeFunc (Source source)
- public delegate void SourceCallbackRefFunc (void* cb_data)
- public delegate void SourceCallbackUnrefFunc (void* cb_data)
- public delegate void SourceCallbackGetFunc (void* cb_data, Source source, SourceFunc func)
- public delegate bool SourceFunc ()
- public delegate G ThreadFunc ()
- public delegate void Func (G data)
- public delegate G OnceFunc ()
- public delegate void ThreadPoolFunc (owned G data)
- public delegate bool IOFunc (IOChannel source, IOCondition condition)
- public delegate void PrintFunc (string text)
- public delegate void LogFunc (string? log_domain, LogLevelFlags log_levels, string message)
- public delegate LogWriterOutput LogWriterFunc (LogLevelFlags log_level, LogField[] fields)
- public delegate void FreeFunc (void* data)
- public delegate void VoidFunc ()
- public delegate void ScannerMsgFunc (Scanner scanner, string message, bool error)
- public delegate string CompletionFunc (void* item)
- public delegate int CompletionStrncmpFunc (string s1, string s2, size_t n)
- public delegate void SpawnChildSetupFunc ()
- public delegate void SignalHandlerFunc (int signum)
- public delegate unowned string TranslateFunc (string str)
- public delegate bool OptionParseFunc (OptionContext context, OptionGroup group, void* data) throws OptionError
- public delegate void OptionErrorFunc (OptionContext context, OptionGroup group, void* data, ref Error error)
- public delegate bool RegexEvalCallback (MatchInfo match_info, StringBuilder result)
- public delegate void MarkupParserStartElementFunc (MarkupParseContext context, string element_name, string[] attribute_names, string[] attribute_values) throws MarkupError
- public delegate void MarkupParserEndElementFunc (MarkupParseContext context, string element_name) throws MarkupError
- public delegate void MarkupParserTextFunc (MarkupParseContext context, string text, size_t text_len) throws MarkupError
- public delegate void MarkupParserPassthroughFunc (MarkupParseContext context, string passthrough_text, size_t text_len) throws MarkupError
- public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error)
- public delegate bool LogFatalFunc (string? log_domain, LogLevelFlags log_levels, string message)
- public delegate void TestFunc ()
- public delegate void TestDataFunc ()
- public delegate void TestFixtureFunc (void* fixture)
- public delegate int CompareFunc (G a, G b)
- public delegate int CompareDataFunc (G a, G b)
- public delegate G CopyFunc (G src)
- public delegate int SearchFunc (G a, T b)
- public delegate int SequenceIterCompareFunc (SequenceIter<G> a, SequenceIter<G> b)
- public delegate uint HashFunc (K key)
- public delegate bool EqualFunc (G a, G b)
- public delegate void HFunc (K key, V value)
- public delegate bool HRFunc (K key, V value)
- public delegate void DestroyNotify (void* data)
- public delegate bool NodeTraverseFunc (Node node)
- public delegate void NodeForeachFunc (Node node)
- public delegate void DataForeachFunc (Quark key_id, G data)
- public delegate G DuplicateFunc (G data)
- public delegate bool TraverseFunc (K key, V value)
- public delegate int TreeSearchFunc (K key)
Methods:
- public uint get_num_processors ()
- public void* malloc (size_t n_bytes)
- public void* malloc0 (size_t n_bytes)
- public void* realloc (void* mem, size_t n_bytes)
- public void* try_malloc (size_t n_bytes)
- public void* try_malloc0 (size_t n_bytes)
- public void* try_realloc (void* mem, size_t n_bytes)
- public void free (void* mem)
- public void mem_set_vtable (MemVTable vtable)
- public void mem_profile ()
- public void print (string format, ...)
- public void set_print_handler (PrintFunc func)
- public void printerr (string format, ...)
- public void set_printerr_handler (PrintFunc func)
- public void return_if_fail (bool expr)
- public void return_val_if_fail (bool expr, ...)
- public void return_if_reached ()
- public void return_val_if_reached (...)
- public void warn_if_fail (bool expr)
- public void warn_if_reached ()
- public void assert (bool expr)
- public void assert_cmpmem (uint8[] m1, uint8[] m2)
- public void assert_error (Error? error, Quark error_domain, int error_code)
- public void assert_false (bool expr)
- public void assert_true (bool expr)
- public void assert_null (void* expr)
- public void assert_no_error (Error? error)
- public void assert_nonnull (void* expr)
- public void assert_not_reached ()
- public void on_error_query (string? prg_name = null)
- public void on_error_stack_trace (string? prg_name = null)
- public void breakpoint ()
- public void logv (string? log_domain, LogLevelFlags log_level, string format, va_list args)
- public void log (string? log_domain, LogLevelFlags log_level, string format, ...)
- public void log_structured (string? log_domain, LogLevelFlags log_levels, ...)
- public void log_structured_array (LogLevelFlags log_levels, LogField[] fields)
- public void log_variant (string? log_domain, LogLevelFlags log_levels, Variant fields)
- public void message (string format, ...)
- public void warning (string format, ...)
- public void critical (string format, ...)
- public void error (string format, ...)
- public void debug (string format, ...)
- public void info (string format, ...)
- public void debug_here ()
- public uint parse_debug_string (string? debug_string, DebugKey[] keys)
- public string strdup (string str)
- public string[] strdupv (string[] str_array)
- public void strfreev (unowned string** str_array)
- public uint strv_length (string[] str_array)
- public bool strv_contains (string[] str_array, string str)
- public unowned string strerror (int errnum)
- 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
- 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
- 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
- public bool get_charset (out string charset)
- public bool get_filename_charsets (out string[] charsets)
- public int64 get_monotonic_time ()
- public int64 get_real_time ()
- public string format_size_for_display (int64 size)
- public string format_size (uint64 size, FormatSizeFlags flags = DEFAULT)
- public unowned string strsignal (int signum)
- public unowned string _ (string str)
- public unowned string Q_ (string str)
- public unowned string N_ (string str)
- public unowned string C_ (string context, string str)
- public unowned string NC_ (string context, string str)
- public unowned string ngettext (string msgid, string msgid_plural, ulong n)
- public unowned string dgettext (string? domain, string msgid)
- public unowned string dcgettext (string? domain, string msgid, int category)
- public unowned string dngettext (string? domain, string msgid, string msgid_plural, ulong n)
- public unowned string dpgettext (string? domain, string msgctxid, size_t msgidoffset)
- public unowned string dpgettext2 (string? domain, string context, string msgid)
- public bool likely (bool expression)
- public bool unlikely (bool expression)
- public void static_assert (bool expression)
- public void qsort_with_data<T> (T[] elems, size_t size, CompareDataFunc<T> compare_func)
Fields:
- AtomicInt
Methods:
- AtomicPointer
Methods:
- Base64
Methods:
- public size_t encode_step (uchar[] _in, bool break_lines, char* _out, ref int state, ref int save)
- public size_t encode_close (bool break_lines, char* _out, ref int state, ref int save)
- public string encode (uchar[] data)
- public size_t decode_step (char[] _in, uchar* _out, ref int state, ref uint save)
- public uchar[] decode (string text)
- Bit
Methods:
- CharacterSet
Constants:
- ChildWatch
Methods:
- DirUtils
Methods:
- Environ
Methods:
- Environment
Methods:
- FileUtils
Methods:
- public bool get_contents (string filename, out string contents, out size_t length = null) throws FileError
- public bool set_contents (string filename, string contents, ssize_t length = -1) throws FileError
- public bool get_data (string filename, out uint8[] contents) throws FileError
- public bool set_data (string filename, uint8[] contents) throws FileError
- public bool test (string filename, FileTest test)
- public int open_tmp (string tmpl, out string name_used) throws FileError
- public string read_link (string filename) throws FileError
- public int error_from_errno (int err_no)
- public int mkstemp (string tmpl)
- public int rename (string oldfilename, string newfilename)
- public int remove (string filename)
- public int unlink (string filename)
- public int chmod (string filename, int mode)
- public int utime (string filename, UTimBuf? times = null)
- public int symlink (string oldpath, string newpath)
- public int close (int fd)
- public bool close_checked (int fd) throws FileError
- Filename
Methods:
- Hostname
Methods:
- Idle
Methods:
- Intl
Methods:
- KeyFileDesktop
Constants:
- Log
Constants:
Methods:
- public uint set_handler (string? log_domain, LogLevelFlags log_levels, LogFunc log_func)
- public void set_handler_full (string? log_domain, LogLevelFlags log_levels, owned LogFunc log_func)
- public void set_default_handler (LogFunc log_func)
- public LogLevelFlags set_fatal_mask (string log_domain, LogLevelFlags log_levels)
- public LogLevelFlags set_always_fatal (LogLevelFlags log_levels)
- public void remove_handler (string? log_domain, uint handler_id)
- public void set_writer_func (owned LogWriterFunc func)
- public bool writer_supports_color (int output_fd)
- public bool writer_is_journald (int output_fd)
- public string writer_format_fields (LogLevelFlags log_levels, LogField[] fields, bool use_color)
- public LogWriterOutput writer_journald (LogLevelFlags log_levels, LogField[] fields, void* user_data)
- public LogWriterOutput writer_standard_streams (LogLevelFlags log_levels, LogField[] fields, void* user_data)
- public LogWriterOutput writer_default (LogLevelFlags log_levels, LogField[] fields, void* user_data)
Fields:
- Markup
Enums:
Methods:
- Math
Constants:
Methods:
- public double acos (double x)
- public float acosf (float x)
- public double asin (double x)
- public float asinf (float x)
- public double atan (double x)
- public float atanf (float x)
- public double atan2 (double y, double x)
- public float atan2f (float y, float x)
- public double cos (double x)
- public float cosf (float x)
- public double sin (double x)
- public float sinf (float x)
- public double tan (double x)
- public float tanf (float x)
- public double cosh (double x)
- public float coshf (float x)
- public double sinh (double x)
- public float sinhf (float x)
- public double tanh (double x)
- public float tanhf (float x)
- public void sincos (double x, out double sinx, out double cosx)
- public void sincosf (float x, out float sinx, out float cosx)
- public double acosh (double x)
- public float acoshf (float x)
- public double asinh (double x)
- public float asinhf (float x)
- public double atanh (double x)
- public float atanhf (float x)
- public double exp (double x)
- public float expf (float x)
- public double frexp (double x, out int exponent)
- public float frexpf (float x, out int exponent)
- public double ldexp (double x, int exponent)
- public float ldexpf (float x, int exponent)
- public double log (double x)
- public float logf (float x)
- public double log10 (double x)
- public float log10f (float x)
- public double modf (double x, out double iptr)
- public float modff (float x, out float iptr)
- public double exp10 (double x)
- public float exp10f (float x)
- public double pow10 (double x)
- public float pow10f (float x)
- public double expm1 (double x)
- public float expm1f (float x)
- public double log1p (double x)
- public float log1pf (float x)
- public double logb (double x)
- public float logbf (float x)
- public double exp2 (double x)
- public float exp2f (float x)
- public double log2 (double x)
- public float log2f (float x)
- public double pow (double x, double y)
- public float powf (float x, float y)
- public double sqrt (double x)
- public float sqrtf (float x)
- public double hypot (double x, double y)
- public float hypotf (float x, float y)
- public double cbrt (double x)
- public float cbrtf (float x)
- public double ceil (double x)
- public float ceilf (float x)
- public double fabs (double x)
- public float fabsf (float x)
- public double floor (double x)
- public float floorf (float x)
- public double fmod (double x, double y)
- public float fmodf (float x, float y)
- public int isinf (double value)
- public int isinff (float value)
- public int finite (double value)
- public int finitef (float value)
- public double drem (double x, double y)
- public float dremf (float x, float y)
- public double significand (double x)
- public float significandf (float x)
- public double copysign (double x, double y)
- public float copysignf (float x, float y)
- public double nan (string tagb)
- public float nanf (string tagb)
- public int isnan (double value)
- public int isnanf (float value)
- public double j0 (double x0)
- public float j0f (float x0)
- public double j1 (double x0)
- public float j1f (float x0)
- public double jn (int x0, double x1)
- public float jnf (int x0, float x1)
- public double y0 (double x0)
- public float y0f (float x0)
- public double y1 (double x0)
- public float y1f (float x0)
- public double yn (int x0, double x1)
- public float ynf (int x0, float x1)
- public double erf (double x0)
- public float erff (float x0)
- public double erfc (double x0)
- public float erfcf (float x0)
- public double lgamma (double x0)
- public float lgammaf (float x0)
- public double tgamma (double x0)
- public float tgammaf (float x0)
- public double gamma (double x0)
- public float gammaf (float x0)
- public double lgamma_r (double x0, out int signgamp)
- public float lgamma_rf (float x0, out int signgamp)
- public double rint (double x)
- public float rintf (float x)
- public double nextafter (double x, double y)
- public float nextafterf (float x, float y)
- public double nexttoward (double x, double y)
- public float nexttowardf (float x, double y)
- public double remainder (double x, double y)
- public float remainderf (float x, float y)
- public double scalbn (double x, int n)
- public float scalbnf (float x, int n)
- public int ilogb (double x)
- public int ilogbf (float x)
- public double scalbln (double x, long n)
- public float scalblnf (float x, long n)
- public double nearbyint (double x)
- public float nearbyintf (float x)
- public double round (double x)
- public float roundf (float x)
- public double trunc (double x)
- public float truncf (float x)
- public double remquo (double x, double y, out int quo)
- public float remquof (float x, float y, out int quo)
- public long lrint (double x)
- public long lrintf (float x)
- public int64 llrint (double x)
- public int64 llrintf (float x)
- public long lround (double x)
- public long lroundf (float x)
- public int64 llround (double x)
- public int64 llroundf (float x)
- public double fdim (double x, double y)
- public float fdimf (float x, float y)
- public double fmax (double x, double y)
- public float fmaxf (float x, float y)
- public double fmin (double x, double y)
- public float fminf (float x, float y)
- public double fma (double x, double y, double z)
- public float fmaf (float x, float y, float z)
- public double scalb (double x, double n)
- public float scalbf (float x, float n)
- Memory
Methods:
- Path
Constants:
Methods:
- Priority
Constants:
- Process
Methods:
- public bool spawn_async_with_pipes (string? working_directory, string[] argv, string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid, out int standard_input = null, out int standard_output = null, out int standard_error = null) throws SpawnError
- public bool spawn_async (string? working_directory, string[] argv, string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid) throws SpawnError
- public bool spawn_sync (string? working_directory, string[] argv, string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError
- public bool spawn_command_line_async (string command_line) throws SpawnError
- public bool spawn_command_line_sync (string command_line, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError
- public void close_pid (Pid pid)
- public bool check_exit_status (int exit_status) throws Error
- public bool if_exited (int status)
- public int exit_status (int status)
- public bool if_signaled (int status)
- public ProcessSignal term_sig (int status)
- public bool core_dump (int status)
- public bool if_stopped (int status)
- public ProcessSignal stop_sig (int status)
- public bool if_continued (int status)
- public void abort ()
- public void exit (int status)
- public int raise (ProcessSignal sig)
- public SignalHandlerFunc @signal (ProcessSignal signum, SignalHandlerFunc handler)
- Random
Methods:
- Shell
Methods:
- Slice
Methods:
- SpacedPrimes
Methods:
- Test
Enums:
Methods:
- public void minimized_result (double minimized_quantity, string format, ...)
- public void maximized_result (double maximized_quantity, string format, ...)
- public void init (ref string[] args, ...)
- public bool quick ()
- public bool slow ()
- public bool thorough ()
- public bool perf ()
- public bool verbose ()
- public bool quiet ()
- public int run ()
- public void add_func (string testpath, owned TestFunc test_funcvoid)
- public void add_data_func (string testpath, owned TestDataFunc test_funcvoid)
- public void add_data_func_full (string testpath, owned TestDataFunc test_func)
- public void assert_expected_messages ()
- public string build_filename (FileType file_type, string[] path_segments)
- public void expect_message (string? log_domain, LogLevelFlags log_level, string pattern)
- public void fail ()
- public bool failed ()
- public unowned string get_dir (FileType file_type)
- public unowned string get_filename (FileType file_type, string[] path_segments)
- public void incomplete (string? msg = null)
- public bool initialized ()
- public void message (string format, ...)
- public void set_nonfatal_assertions ()
- public void skip (string? msg = null)
- public bool subprocess ()
- public void bug_base (string uri_pattern)
- public void bug (string bug_uri_snippet)
- public void timer_start ()
- public double timer_elapsed ()
- public double timer_last ()
- public bool trap_fork (uint64 usec_timeout, TestTrapFlags test_trap_flags)
- public bool trap_has_passed ()
- public bool trap_reached_timeout ()
- public void trap_subprocess (string? test_path, uint64 usec_timeout, TestSubprocessFlags test_flags)
- public void trap_assert_passed ()
- public void trap_assert_failed ()
- public void trap_assert_stdout (string soutpattern)
- public void trap_assert_stdout_unmatched (string soutpattern)
- public void trap_assert_stderr (string serrpattern)
- public void trap_assert_stderr_unmatched (string serrpattern)
- public bool rand_bit ()
- public int32 rand_int ()
- public int32 rand_int_range (int32 begin, int32 end)
- public double rand_double ()
- public double rand_double_range (double begin, double end)
- public void log_set_fatal_handler (LogFatalFunc log_func)
- Timeout
Methods:
- Unix
Classes:
Methods:
- Uri
Constants:
Methods:
- Uuid
Methods:
- Version
Constants:
Methods:
- Win32
Enums:
Methods:
Classes:
Structs: