X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fuchar.h;fp=includes%2Fuchar.h;h=3b34c921dd4371124491e6c5596da7e81639fdaa;hb=6c66631ea1ddc3110848294ea929d7761d6c9ec2;hp=0000000000000000000000000000000000000000;hpb=f3d811f877df14a15abccb5d6f11b2800a727db0;p=pdclib.old diff --git a/includes/uchar.h b/includes/uchar.h new file mode 100644 index 0000000..3b34c92 --- /dev/null +++ b/includes/uchar.h @@ -0,0 +1,39 @@ +/* 7.28 + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + + +#ifndef _PDCLIB_UCHAR_H +#define _PDCLIB_UCHAR_H +#include <_PDCLIB_encoding.h> +_PDCLIB_BEGIN_EXTERN_C + +/* This is mostly a placeholder. for now. This header will be completed by the + * release of 0.6, but at present merely exposes types needed by the rest of the + * library + */ + +#ifndef _PDCLIB_SIZE_T_DEFINED +#define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED +typedef _PDCLIB_size_t size_t; +#endif + +#ifndef _PDCLIB_MBSTATE_T_DEFINED +#define _PDCLIB_MBSTATE_T_DEFINED _PDCLIB_MBSTATE_T_DEFINED +typedef struct _PDCLIB_mbstate_t mbstate_t; +#endif + +#ifndef __cplusplus +#ifndef _PDCLIB_CHAR16_T_DEFINED +#define _PDCLIB_CHAR16_T_DEFINED _PDCLIB_CHAR16_T_DEFINED +typedef _PDCLIB_char16_t char16_t; +#endif + +#ifndef _PDCLIB_CHAR32_T_DEFINED +#define _PDCLIB_CHAR32_T_DEFINED _PDCLIB_CHAR32_T_DEFINED +typedef _PDCLIB_char32_t char32_t; +#endif + +#endif \ No newline at end of file