Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
glib-extra.hh File Reference
#include <glib.h>
#include <glib-object.h>
#include <string>
Include dependency graph for glib-extra.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GBitMatrix
 

Namespaces

 Bse
 

Macros

#define G_HASH_LONG(l)
 
#define G_HASH_POINTER(p)
 
#define g_scanner_add_symbol(scanner, symbol, value)
 
#define g_scanner_remove_symbol(scanner, symbol)
 
#define g_object_notify(o, s)
 
#define g_object_get_qdata(o, q)
 
#define g_object_set_qdata(o, q, d)
 
#define g_object_set_qdata_full(o, q, d, f)
 
#define g_object_steal_qdata(o, q)
 
#define g_object_get_data(o, k)
 
#define g_object_set_data(o, k, d)
 
#define g_object_set_data_full(o, k, d, f)
 
#define g_object_steal_data(o, k)
 
#define g_intern_format(...)
 
#define g_string_add_format(gstr, ...)
 
#define g_strdup_format(...)
 
#define g_bit_matrix_set(matrix, x, y)
 
#define g_bit_matrix_unset(matrix, x, y)
 
#define G_DEFINE_DATA_TYPE(TN, t_n, T_P)
 
#define G_DEFINE_DATA_TYPE_WITH_CODE(TN, t_n, T_P, _C_)
 
#define G_DEFINE_ABSTRACT_DATA_TYPE(TN, t_n, T_P)
 
#define G_DEFINE_ABSTRACT_DATA_TYPE_WITH_CODE(TN, t_n, T_P, _C_)
 
#define G_DEFINE_DATA_TYPE_EXTENDED(TypeName, type_name, TYPE_PARENT, flags, CODE)
 
#define g_scanner_add_symbol(scanner, symbol, value)
 
#define g_scanner_remove_symbol(scanner, symbol)
 
#define g_scanner_foreach_symbol(scanner, func, data)
 
#define g_scanner_freeze_symbol_table(scanner)
 
#define g_scanner_thaw_symbol_table(scanner)
 

Typedefs

typedef int64_t int64
 
typedef gboolean(* GSourcePending) (gpointer data, gint *timeout)
 
typedef void(* GSourceDispatch) (gpointer data)
 

Enumerations

enum  InstallpathType {
  INSTALLPATH_BSEINCLUDEDIR, INSTALLPATH_BINDIR, INSTALLPATH_LOCALEBASE, INSTALLPATH_LADSPA,
  INSTALLPATH_DOCDIR, INSTALLPATH_USER_DATA, INSTALLPATH_BSELIBDIR, INSTALLPATH_BSELIBDIR_PLUGINS,
  INSTALLPATH_BSELIBDIR_DRIVERS, INSTALLPATH_DATADIR, INSTALLPATH_DATADIR_DEMO, INSTALLPATH_DATADIR_SAMPLES,
  INSTALLPATH_DATADIR_EFFECTS, INSTALLPATH_DATADIR_INSTRUMENTS, INSTALLPATH_DATADIR_SCRIPTS, INSTALLPATH_DATADIR_IMAGES,
  INSTALLPATH_DATADIR_KEYS, INSTALLPATH_DATADIR_SKINS, INSTALLPATH_BEASTDIR, INSTALLPATH_PYBEASTDIR,
  INSTALLPATH_OBJDIR
}
 

Functions

void g_object_disconnect_any (gpointer object, gpointer function, gpointer data)
 
gchar ** g_straddv (gchar **str_array, const gchar *new_str)
 
gchar ** g_strslistv (GSList *slist)
 
guint g_strlenv (gchar **str_array)
 
gchar * g_strdup_stripped (const gchar *string)
 
gchar * g_strdup_rstrip (const gchar *string)
 
gchar * g_strdup_lstrip (const gchar *string)
 
const gchar * g_intern_strconcat (const gchar *first_string,...) G_GNUC_NULL_TERMINATED
 
GString * g_string_prefix_lines (GString *gstring, const gchar *pstr)
 
gchar * g_option_concat (const gchar *first_option,...) G_GNUC_NULL_TERMINATED
 
gboolean g_option_check (const gchar *option_string, const gchar *option)
 
gchar * g_option_get (const gchar *option_string, const gchar *option)
 
void g_param_spec_set_options (GParamSpec *pspec, const gchar *options)
 
void g_param_spec_add_option (GParamSpec *pspec, const gchar *option, const gchar *value)
 
gboolean g_param_spec_check_option (GParamSpec *pspec, const gchar *option)
 
gboolean g_param_spec_provides_options (GParamSpec *pspec, const gchar *options)
 
const gchar * g_param_spec_get_options (GParamSpec *pspec)
 
void g_param_spec_set_istepping (GParamSpec *pspec, guint64 stepping)
 
guint64 g_param_spec_get_istepping (GParamSpec *pspec)
 
void g_param_spec_set_fstepping (GParamSpec *pspec, gdouble stepping)
 
gdouble g_param_spec_get_fstepping (GParamSpec *pspec)
 
void g_param_spec_set_log_scale (GParamSpec *pspec, gdouble center, gdouble base, gdouble n_steps)
 
gboolean g_param_spec_get_log_scale (GParamSpec *pspec, gdouble *center, gdouble *base, gdouble *n_steps)
 
gpointer g_slist_pop_head (GSList **slist_p)
 
gpointer g_list_pop_head (GList **list_p)
 
GSList * g_slist_append_uniq (GSList *slist, gpointer data)
 
void g_slist_free_deep (GSList *slist, GDestroyNotify data_destroy)
 
void g_list_free_deep (GList *list, GDestroyNotify data_destroy)
 
gchar * g_type_name_to_cname (const gchar *type_name)
 
gchar * g_type_name_to_sname (const gchar *type_name)
 
gchar * g_type_name_to_cupper (const gchar *type_name)
 
gchar * g_type_name_to_type_macro (const gchar *type_name)
 
bool g_sname_equals (const std::string &s1, const std::string &s2)
 
GSource * g_source_simple (gint priority, GSourcePending pending, GSourceDispatch dispatch, gpointer data, GDestroyNotify destroy, GPollFD *first_pfd,...)
 
guint g_predicate_idle_add (GSourceFunc predicate, GSourceFunc function, gpointer data)
 
guint g_predicate_idle_add_full (gint priority, GSourceFunc predicate, GSourceFunc function, gpointer data, GDestroyNotify notify)
 
GScanner * g_scanner_new64 (const GScannerConfig *config_templ)
 
std::string Bse::installpath (InstallpathType installpath_type)
 
void Bse::installpath_override (const String &topdir)
 
std::string Bse::version ()
 
const charBse::bse_gettext_domain ()
 
const charBse::_ (const char *string)
 
std::string Bse::_ (const std::string &string)
 

Typedef Documentation

typedef int64_t int64

A 64-bit unsigned integer, use PRI*64 in format strings.

Function Documentation

bool g_sname_equals ( const std::string s1,
const std::string s2 
)

Check if s1 is equal to s2, while ignoring separator differences like '-' vs '_'.

Here is the call graph for this function: