TwiceAsNice  2019-02-18
Macros | Typedefs | Functions
locale_compat.h File Reference
#include <locale.h>
Include dependency graph for locale_compat.h:
This graph shows which files directly or indirectly include this file:

Macros

#define INDI_LOCALE(s)   s
 
#define _INDI_C_INLINE   inline
 

Typedefs

typedef char locale_char_t
 

Functions

static locale_char_tindi_setlocale (int category, const locale_char_t *locale)
 
static void indi_restore_locale (int category, locale_char_t *prev)
 
static _INDI_C_INLINE locale_char_tindi_locale_C_numeric_push ()
 
static _INDI_C_INLINE void indi_locale_C_numeric_pop (locale_char_t *prev)
 

Macro Definition Documentation

◆ _INDI_C_INLINE

#define _INDI_C_INLINE   inline

◆ INDI_LOCALE

#define INDI_LOCALE (   s)    s

Typedef Documentation

◆ locale_char_t

typedef char locale_char_t

Function Documentation

◆ indi_locale_C_numeric_pop()

static _INDI_C_INLINE void indi_locale_C_numeric_pop ( locale_char_t prev)
static

◆ indi_locale_C_numeric_push()

static _INDI_C_INLINE locale_char_t* indi_locale_C_numeric_push ( )
static

◆ indi_restore_locale()

static void indi_restore_locale ( int  category,
locale_char_t prev 
)
inlinestatic

◆ indi_setlocale()

static locale_char_t* indi_setlocale ( int  category,
const locale_char_t locale 
)
inlinestatic