SCIM Bridge 0.4.x
scim-bridge-string.h File Reference

This is the header for the functions to manupulate strings. More...

#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include "scim-bridge.h"

Go to the source code of this file.

Typedefs

typedef uint32_t wchar
 

Functions

ssize_t scim_bridge_string_to_wstring (wchar **wstr, const char *str)
 
ssize_t scim_bridge_wstring_to_string (char **str, const wchar *wstr)
 
ssize_t scim_bridge_string_get_length (const char *str)
 
ssize_t scim_bridge_wstring_get_length (const wchar *wstr)
 
retval_t scim_bridge_string_to_uint (unsigned int *dst, const char *str)
 
retval_t scim_bridge_string_to_int (int *dst, const char *str)
 
retval_t scim_bridge_string_to_boolean (boolean *dst, const char *str)
 
size_t scim_bridge_string_from_uint (char **str, unsigned int value)
 
size_t scim_bridge_string_from_int (char **str, int value)
 
size_t scim_bridge_string_from_boolean (char **str, boolean value)
 

Detailed Description

This is the header for the functions to manupulate strings.

Author
Ryo Dairiki ryo-d.nosp@m.airi.nosp@m.ki@us.nosp@m.ers..nosp@m.sourc.nosp@m.efor.nosp@m.ge.ne.nosp@m.t