GNU PROLOG with UTF8 support
Macros | Functions
pl_wchar.h File Reference
#include <stdint.h>
Include dependency graph for pl_wchar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHAR32_T   int32_t
 
#define MAX_WCHAR_BYTES   4
 
#define FILL_WCHAR_MODE_INIT   0
 

Functions

int contains_wchar (const char *s, int slen)
 
int normalize_pos (int pos, const char *s)
 
int count_wchar_bytes (const char *s, int slen)
 
int count_wchar_bytes_without_slen (const char *s)
 
int count_wchar_bytes_back (const char *s)
 
int get_wchar_bytes (CHAR32_T c)
 
CHAR32_T get_wchar (const char *s, int slen)
 
int count_wchars (char *s, int slen)
 
int put_wchar (char *s, int slen, CHAR32_T c)
 
int put_wchar_without_slen (char *s, CHAR32_T c)
 
int put_wchar_eof (char *s, int slen, CHAR32_T c)
 
int fill_wchar (CHAR32_T *cp, int *modep, CHAR32_T c0)
 
int wchar_bytes_of_chars (const char *s, int slen, int chars)
 
int is_wchar_print (CHAR32_T c)
 

Macro Definition Documentation

#define CHAR32_T   int32_t
#define FILL_WCHAR_MODE_INIT   0
#define MAX_WCHAR_BYTES   4

Function Documentation

int contains_wchar ( const char *  s,
int  slen 
)
int count_wchar_bytes ( const char *  s,
int  slen 
)

Here is the caller graph for this function:

int count_wchar_bytes_back ( const char *  s)

Here is the caller graph for this function:

int count_wchar_bytes_without_slen ( const char *  s)

Here is the caller graph for this function:

int count_wchars ( char *  s,
int  slen 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fill_wchar ( CHAR32_T cp,
int *  modep,
CHAR32_T  c0 
)

Here is the caller graph for this function:

CHAR32_T get_wchar ( const char *  s,
int  slen 
)

Here is the caller graph for this function:

int get_wchar_bytes ( CHAR32_T  c)

Here is the caller graph for this function:

int is_wchar_print ( CHAR32_T  c)

Here is the caller graph for this function:

int normalize_pos ( int  pos,
const char *  s 
)
int put_wchar ( char *  s,
int  slen,
CHAR32_T  c 
)

Here is the caller graph for this function:

int put_wchar_eof ( char *  s,
int  slen,
CHAR32_T  c 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int put_wchar_without_slen ( char *  s,
CHAR32_T  c 
)

Here is the caller graph for this function:

int wchar_bytes_of_chars ( const char *  s,
int  slen,
int  chars 
)

Here is the call graph for this function:

Here is the caller graph for this function: