LiVES  3.2.0
Macros | Functions
support.c File Reference
#include <stdlib.h>
#include "support.h"
#include <gtk/gtk.h>

Go to the source code of this file.

Macros

#define LIVES_INLINE   static inline
 
#define LIVES_GLOBAL_INLINE   inline
 
#define lives_locale_to_utf8(a, b, c, d, e)   g_locale_to_utf8(a, b, c, d, e)
 
#define lives_strdup_printf(fmt, ...)   g_strdup_printf(fmt, __VA_ARGS__)
 

Functions

LIVES_GLOBAL_INLINE char * translate (const char *String)
 
LIVES_GLOBAL_INLINE char * translate_with_hash (const char *String)
 
LIVES_GLOBAL_INLINE char * translate_with_plural (const char *String, const char *StringPlural, unsigned long int n)
 
LIVES_GLOBAL_INLINE char * translate_with_plural_hash (const char *String, const char *StringPlural, unsigned long int n)
 

Macro Definition Documentation

◆ LIVES_GLOBAL_INLINE

#define LIVES_GLOBAL_INLINE   inline

Definition at line 10 of file support.c.

◆ LIVES_INLINE

#define LIVES_INLINE   static inline

Definition at line 9 of file support.c.

◆ lives_locale_to_utf8

#define lives_locale_to_utf8 (   a,
  b,
  c,
  d,
 
)    g_locale_to_utf8(a, b, c, d, e)

Definition at line 24 of file support.c.

◆ lives_strdup_printf

#define lives_strdup_printf (   fmt,
  ... 
)    g_strdup_printf(fmt, __VA_ARGS__)

Definition at line 27 of file support.c.

Function Documentation

◆ translate()

LIVES_GLOBAL_INLINE char* translate ( const char *  String)

Definition at line 31 of file support.c.

◆ translate_with_hash()

LIVES_GLOBAL_INLINE char* translate_with_hash ( const char *  String)

Definition at line 35 of file support.c.

◆ translate_with_plural()

LIVES_GLOBAL_INLINE char* translate_with_plural ( const char *  String,
const char *  StringPlural,
unsigned long int  n 
)

Definition at line 42 of file support.c.

◆ translate_with_plural_hash()

LIVES_GLOBAL_INLINE char* translate_with_plural_hash ( const char *  String,
const char *  StringPlural,
unsigned long int  n 
)

Definition at line 46 of file support.c.