pdclib.old
7 years ago[gandr] s/__lp64__/__LP64__/ to match GCC define master
Owen Shepherd [Mon, 24 Nov 2014 22:32:19 +0000 (22:32 +0000)]
[gandr] s/__lp64__/__LP64__/ to match GCC define

7 years ago[dlmalloc] correct definition of MMAP
Owen Shepherd [Mon, 24 Nov 2014 22:31:52 +0000 (22:31 +0000)]
[dlmalloc] correct definition of MMAP

7 years ago[gandr]: implement /_PDCLIB_(alloc|free)pages/
Owen Shepherd [Sun, 23 Nov 2014 18:30:13 +0000 (18:30 +0000)]
[gandr]: implement /_PDCLIB_(alloc|free)pages/

7 years ago[gandr]: seekf: pass newPos, not &newPos to gd_seek, because newPos is already a...
Owen Shepherd [Sun, 23 Nov 2014 18:29:30 +0000 (18:29 +0000)]
[gandr]: seekf: pass newPos, not &newPos to gd_seek, because newPos is already a pointer

7 years agoflushbuffer: make EOL conversion code more robust against I/O errors
Owen Shepherd [Wed, 12 Nov 2014 20:38:32 +0000 (20:38 +0000)]
flushbuffer: make EOL conversion code more robust against I/O errors

7 years agofwrite: output line buffered content as we go along
Owen Shepherd [Wed, 12 Nov 2014 20:37:29 +0000 (20:37 +0000)]
fwrite: output line buffered content as we go along

7 years agoAdd /strl(cpy|cat)/ under _BSD_SOURCE guards
Owen Shepherd [Wed, 22 Oct 2014 22:11:32 +0000 (23:11 +0100)]
Add /strl(cpy|cat)/ under _BSD_SOURCE guards

7 years agoAdd newline translationwq
Owen Shepherd [Thu, 9 Oct 2014 19:51:02 +0000 (20:51 +0100)]
Add newline translationwq

7 years ago[gandr] split _PDCLIB_stdinit to better separate stdio and locale
Owen Shepherd [Tue, 7 Oct 2014 22:24:52 +0000 (23:24 +0100)]
[gandr] split _PDCLIB_stdinit to better separate stdio and locale

7 years agoModify various POSIX platform files so you can build on top of glibc for testing
Owen Shepherd [Tue, 7 Oct 2014 22:23:56 +0000 (23:23 +0100)]
Modify various POSIX platform files so you can build on top of glibc for testing

7 years agoPDCLIB-27 #resolve fixed
Owen Shepherd [Tue, 7 Oct 2014 22:22:27 +0000 (23:22 +0100)]
PDCLIB-27 #resolve fixed

7 years agoAdd manual pages for _cbprintf family
Owen Shepherd [Tue, 7 Oct 2014 22:20:01 +0000 (23:20 +0100)]
Add manual pages for _cbprintf family

7 years agoAdd _cbprintf/_vcbprintf (callback based printf formatters)
Owen Shepherd [Tue, 7 Oct 2014 22:19:34 +0000 (23:19 +0100)]
Add _cbprintf/_vcbprintf (callback based printf formatters)

7 years agoAdd optional EIO to tss_errno
Owen Shepherd [Fri, 3 Oct 2014 17:13:08 +0000 (18:13 +0100)]
Add optional EIO to tss_errno

7 years agoMerge
Owen Shepherd [Mon, 21 Jul 2014 13:49:21 +0000 (14:49 +0100)]
Merge

7 years agoCompress the Unicode data into runs. This results in a significant size reduction.
Owen Shepherd [Mon, 21 Jul 2014 13:48:01 +0000 (14:48 +0100)]
Compress the Unicode data into runs. This results in a significant size reduction.

7 years agoPDCLIB-26 #resolve fixed don't leak setvbuf allocated buffers
Owen Shepherd [Mon, 14 Jul 2014 15:40:14 +0000 (16:40 +0100)]
PDCLIB-26 #resolve fixed don't leak setvbuf allocated buffers

7 years agoInitial stab at gandr platform
Owen Shepherd [Mon, 14 Jul 2014 15:21:25 +0000 (16:21 +0100)]
Initial stab at gandr platform

7 years agoOnly build helloworld test when building tests
Owen Shepherd [Mon, 14 Jul 2014 12:04:33 +0000 (13:04 +0100)]
Only build helloworld test when building tests

7 years ago[tss_errno] Include errno.h in errno.c
Owen Shepherd [Mon, 14 Jul 2014 12:04:16 +0000 (13:04 +0100)]
[tss_errno] Include errno.h in errno.c

8 years agoMemory leak on setvbuf. Since the buffer wasnt freed on fclose()
cycl0ne [Mon, 9 Jun 2014 11:22:45 +0000 (11:22 +0000)]
Memory leak on setvbuf. Since the buffer wasnt freed on fclose()

8 years agoPlace each opt-module on its' own line (easier to read)
Owen Shepherd [Sun, 1 Sep 2013 22:18:31 +0000 (23:18 +0100)]
Place each opt-module on its' own line (easier to read)

8 years agoBring example platform up to date
Owen Shepherd [Sun, 1 Sep 2013 22:18:08 +0000 (23:18 +0100)]
Bring example platform up to date

8 years agoEnable per-thread locale support to be compiled out
Owen Shepherd [Sun, 1 Sep 2013 22:12:51 +0000 (23:12 +0100)]
Enable per-thread locale support to be compiled out

8 years agoUse the GCC ability to place each function/piece of data in its' own section, and...
Owen Shepherd [Sun, 1 Sep 2013 22:12:01 +0000 (23:12 +0100)]
Use the GCC ability to place each function/piece of data in its' own section, and LD's ability to garbage collect unused sections, to produce smaller binaries

8 years agoBuild the helloworld test app with the same settings as we use for the other tests
Owen Shepherd [Sun, 1 Sep 2013 22:10:43 +0000 (23:10 +0100)]
Build the helloworld test app with the same settings as we use for the other tests

9 years agoPDCLIB-25 #comment Make _PDCLIB_wcinfo + _PDCLIB_wcinfo_size const
Owen Shepherd [Tue, 30 Apr 2013 21:19:07 +0000 (22:19 +0100)]
PDCLIB-25 #comment Make _PDCLIB_wcinfo + _PDCLIB_wcinfo_size const

9 years agoPDCLIB-25 #resolve #comment Made ctype, wctype and codec data const.(This may be...
Owen Shepherd [Tue, 30 Apr 2013 21:16:55 +0000 (22:16 +0100)]
PDCLIB-25 #resolve #comment Made ctype, wctype and codec data const.(This may be re-evaluated when implementing newlocale+setlocale)

9 years agoPDCLIB-20 #resolve Add support for "unusual" cases. Ammend test suite to verify support.
Owen Shepherd [Tue, 23 Apr 2013 18:29:41 +0000 (19:29 +0100)]
PDCLIB-20 #resolve Add support for "unusual" cases. Ammend test suite to verify support.

9 years agoPDCLIB-2 c32rtomb: likewise missing NULL destination check
Owen Shepherd [Tue, 23 Apr 2013 17:59:56 +0000 (18:59 +0100)]
PDCLIB-2 c32rtomb: likewise missing NULL destination check

9 years agoPDCLIB-2 c16rtomb: did not support NULL destination buffer mode (count output characters)
Owen Shepherd [Tue, 23 Apr 2013 17:57:47 +0000 (18:57 +0100)]
PDCLIB-2 c16rtomb: did not support NULL destination buffer mode (count output characters)

9 years agoPDCLIB-2 c16rtomb never cleared _Surrogate
Owen Shepherd [Tue, 23 Apr 2013 17:56:38 +0000 (18:56 +0100)]
PDCLIB-2 c16rtomb never cleared _Surrogate

9 years agoPDCLIB-2 PDCLIB-9 mbsinit
Owen Shepherd [Tue, 23 Apr 2013 17:20:05 +0000 (18:20 +0100)]
PDCLIB-2 PDCLIB-9 mbsinit

9 years agoUnicodeData.py: actually fill in encoding declaration
Owen Shepherd [Sat, 20 Apr 2013 22:43:33 +0000 (23:43 +0100)]
UnicodeData.py: actually fill in encoding declaration

9 years agoPDCLIB-1 (PDCLIB-3) Make wide character classification/collation information locale...
Owen Shepherd [Thu, 21 Mar 2013 00:06:53 +0000 (00:06 +0000)]
PDCLIB-1 (PDCLIB-3) Make wide character classification/collation information locale dependent (to support locale-dependent information in future).
* locale_t has had _WCType + _WCTypeSize fields added to it
* iswctype, towctrans, towlower, towupper -> add _PDCLIB_*_l internal variations
* Added module "c_locale" which will provide default C locale implementation. So far just registers Unicode tables with provided locale
* win32 -> use new "c_locale" module. crt0 modifications.
* posix -> use new "c_locale" module. stdinit modifications

9 years agoPDCLIB-3 #resolve Implement towctrans/wctrans. Completes wctype.h
Owen Shepherd [Sat, 16 Mar 2013 20:33:00 +0000 (20:33 +0000)]
PDCLIB-3 #resolve Implement towctrans/wctrans. Completes wctype.h

9 years agoPDCLIB-3 towupper(3) towlower(3)
Owen Shepherd [Sat, 16 Mar 2013 20:27:34 +0000 (20:27 +0000)]
PDCLIB-3 towupper(3) towlower(3)

9 years agoPDCLIB-3 Change _PDCLIB_wcinfo_t to use wint_t
Owen Shepherd [Sat, 16 Mar 2013 20:27:17 +0000 (20:27 +0000)]
PDCLIB-3 Change _PDCLIB_wcinfo_t to use wint_t

9 years agoPDCLIB-3 implement isw* functions
Owen Shepherd [Sat, 16 Mar 2013 19:46:26 +0000 (19:46 +0000)]
PDCLIB-3 implement isw* functions

9 years agoPDCLIB-3 Add iswctype(3)
Owen Shepherd [Sat, 16 Mar 2013 18:57:32 +0000 (18:57 +0000)]
PDCLIB-3 Add iswctype(3)

9 years agoPDCLIB-3: Add lookup functions to _PDCLIB_locale.h which can be used to lookup the...
Owen Shepherd [Sat, 16 Mar 2013 18:57:09 +0000 (18:57 +0000)]
PDCLIB-3: Add lookup functions to _PDCLIB_locale.h which can be used to lookup the classification information pertaining to a wide character

9 years agoPDCLIB-3: Add _PDCLIB_unpackwint to enable UTF-16 platforms to pass a "packed UTF...
Owen Shepherd [Sat, 16 Mar 2013 18:56:36 +0000 (18:56 +0000)]
PDCLIB-3: Add _PDCLIB_unpackwint to enable UTF-16 platforms to pass a "packed UTF-16" representation to certain wide character classification functions

9 years agoWin32: Change wint_t to be signed int (32-bit) in order to hold UCS-2 + -1. Additiona...
Owen Shepherd [Sat, 16 Mar 2013 18:55:20 +0000 (18:55 +0000)]
Win32: Change wint_t to be signed int (32-bit) in order to hold UCS-2 + -1. Additionally, this will enable use of a "packed UTF-16" representation with some functions (as an extension)

9 years agoPDCLIB-3 correct classification of space characters
Owen Shepherd [Sat, 16 Mar 2013 18:54:03 +0000 (18:54 +0000)]
PDCLIB-3 correct classification of space characters

9 years agoPDCLIB-3 wctype: add parentheses around bitwise logic in test cases due to C's quirky...
Owen Shepherd [Sat, 16 Mar 2013 18:45:39 +0000 (18:45 +0000)]
PDCLIB-3 wctype: add parentheses around bitwise logic in test cases due to C's quirky precedence

9 years agoPDCLIB-3 Add wctype(3)
Owen Shepherd [Sat, 16 Mar 2013 18:17:35 +0000 (18:17 +0000)]
PDCLIB-3 Add wctype(3)

9 years agoPDCLIB-3 Add <wctype.h>
Owen Shepherd [Sat, 16 Mar 2013 18:16:56 +0000 (18:16 +0000)]
PDCLIB-3 Add <wctype.h>

9 years agoPDCLIB-3 Add XDIGIT to list of bits in Unicode character data
Owen Shepherd [Sat, 16 Mar 2013 18:16:26 +0000 (18:16 +0000)]
PDCLIB-3 Add XDIGIT to list of bits in Unicode character data

9 years agoPDCLIB-2 #ifdef guard surrounding WEOF
Owen Shepherd [Sat, 16 Mar 2013 16:40:35 +0000 (16:40 +0000)]
PDCLIB-2 #ifdef guard surrounding WEOF

9 years agoRemove obsolete header comment
Owen Shepherd [Sat, 16 Mar 2013 16:39:19 +0000 (16:39 +0000)]
Remove obsolete header comment

9 years agoPDCLIB-1
Owen Shepherd [Sat, 16 Mar 2013 16:39:02 +0000 (16:39 +0000)]
PDCLIB-1
* Change LC_* category numbers to better suit bitfield.
* Introduce LC_*_MASK for newlocale.
* Add newlocale

9 years agoPDCLIB-1
Owen Shepherd [Sat, 16 Mar 2013 16:37:40 +0000 (16:37 +0000)]
PDCLIB-1
* Rename _PDCLIB_wctype_t -> _PDCLIB_wcinfo_t in order to avoid conflict with wctype_t in <wctype.h>.
* Add testdriver to generated _PDCLIB_unicodedata.c

9 years agoInclude usage data in UnicodeData.py docstring
Owen Shepherd [Sat, 16 Mar 2013 16:35:30 +0000 (16:35 +0000)]
Include usage data in UnicodeData.py docstring

9 years agoRemove obsolete comment from Readme file
Owen Shepherd [Sat, 16 Mar 2013 16:35:02 +0000 (16:35 +0000)]
Remove obsolete comment from Readme file

9 years agoPDCLIB-1 Import Unciode character data table (see licensing provisio)
Owen Shepherd [Sat, 16 Mar 2013 00:08:14 +0000 (00:08 +0000)]
PDCLIB-1 Import Unciode character data table (see licensing provisio)

9 years agoAdd manual pages for POSIX locale extensions duplocale/freelocale/newlocale/uselocale
Owen Shepherd [Tue, 26 Feb 2013 17:52:32 +0000 (17:52 +0000)]
Add manual pages for POSIX locale extensions duplocale/freelocale/newlocale/uselocale

9 years agoroff typo fix (-St -> .St)
Owen Shepherd [Wed, 20 Feb 2013 12:08:02 +0000 (12:08 +0000)]
roff typo fix (-St -> .St)

9 years agoAdd manpage for setlocale
Owen Shepherd [Wed, 20 Feb 2013 01:58:08 +0000 (01:58 +0000)]
Add manpage for setlocale

9 years agoRemove empty lines from manpages (lint errors)
Owen Shepherd [Wed, 20 Feb 2013 01:46:27 +0000 (01:46 +0000)]
Remove empty lines from manpages (lint errors)

9 years agoNamespace cleanliness: Rename all ***_unlocked functions to _PDCLIB_***_unlocked.
Owen Shepherd [Wed, 20 Feb 2013 01:21:15 +0000 (01:21 +0000)]
Namespace cleanliness: Rename all ***_unlocked functions to _PDCLIB_***_unlocked.

Trivial forwarders ***_unlocked -> _PDCLIB_***_unlocked will be implemented (but these functions avoid exposing the _unlocked symbols to code which is only requesting the standard-defined versions)

9 years agovfprintf: use putc_unlocked
Owen Shepherd [Wed, 20 Feb 2013 01:07:30 +0000 (01:07 +0000)]
vfprintf: use putc_unlocked

9 years agosetvbuf: lock file appropriately
Owen Shepherd [Wed, 20 Feb 2013 01:04:40 +0000 (01:04 +0000)]
setvbuf: lock file appropriately

9 years agogets: lock file before performing read
Owen Shepherd [Wed, 20 Feb 2013 01:01:40 +0000 (01:01 +0000)]
gets: lock file before performing read

9 years agoAnnotate _unlocked stdio as nothrow
Owen Shepherd [Thu, 17 Jan 2013 15:50:27 +0000 (15:50 +0000)]
Annotate _unlocked stdio as nothrow

9 years agoPDCLIB-2 PDCLIB-9 Add single character unicode conversion functions (C11)
Owen Shepherd [Fri, 11 Jan 2013 18:19:11 +0000 (18:19 +0000)]
PDCLIB-2 PDCLIB-9 Add single character unicode conversion functions (C11)

9 years agoPDCLIB-1 Add stub freelocale()
Owen Shepherd [Fri, 11 Jan 2013 18:18:26 +0000 (18:18 +0000)]
PDCLIB-1 Add stub freelocale()

9 years agoPDCLIB-2 PDCLIB-12 Correct surrogate behaviour of internal UTF-16 <-> UTF-32 helper...
Owen Shepherd [Fri, 11 Jan 2013 18:17:56 +0000 (18:17 +0000)]
PDCLIB-2 PDCLIB-12 Correct surrogate behaviour of internal UTF-16 <-> UTF-32 helper functions (although their future is unclear)

9 years agoPDCLIB-2 PDCLIB-9 Correct header entry of mbrtoc32
Owen Shepherd [Fri, 11 Jan 2013 18:17:13 +0000 (18:17 +0000)]
PDCLIB-2 PDCLIB-9 Correct header entry of mbrtoc32

9 years agowin32: stdinit: update to new locale system
Owen Shepherd [Mon, 7 Jan 2013 15:24:29 +0000 (15:24 +0000)]
win32: stdinit: update to new locale system

9 years agowin32: crt0: initialize locale TSS
Owen Shepherd [Mon, 7 Jan 2013 15:23:45 +0000 (15:23 +0000)]
win32: crt0: initialize locale TSS

9 years agowin32: add opt basecodecs
Owen Shepherd [Mon, 7 Jan 2013 15:23:28 +0000 (15:23 +0000)]
win32: add opt basecodecs

9 years agotss_errno: _PDCLIB_errno_func()
Owen Shepherd [Mon, 7 Jan 2013 15:23:08 +0000 (15:23 +0000)]
tss_errno: _PDCLIB_errno_func()

9 years agowin32: update tmpfile return type to be FILE*
Owen Shepherd [Mon, 7 Jan 2013 15:10:33 +0000 (15:10 +0000)]
win32: update tmpfile return type to be FILE*

9 years agowin32: refer to errno, not _PDCLIB_errno
Owen Shepherd [Mon, 7 Jan 2013 15:10:17 +0000 (15:10 +0000)]
win32: refer to errno, not _PDCLIB_errno

9 years agochar16_t/char32_t were incorrectly defined as int*_t rather than uint*_t
Owen Shepherd [Mon, 7 Jan 2013 15:09:19 +0000 (15:09 +0000)]
char16_t/char32_t were incorrectly defined as int*_t rather than uint*_t

9 years agoerrno: parts of old errno system were left in _PDCLIB_int.h
Owen Shepherd [Mon, 7 Jan 2013 15:08:50 +0000 (15:08 +0000)]
errno: parts of old errno system were left in _PDCLIB_int.h

9 years agoPDCLIB-2 PDCLIB-9: Internal mbstates
Owen Shepherd [Tue, 1 Jan 2013 21:38:14 +0000 (21:38 +0000)]
PDCLIB-2 PDCLIB-9: Internal mbstates

9 years agoPDCLIB-1 uselocale
Owen Shepherd [Tue, 1 Jan 2013 21:11:07 +0000 (21:11 +0000)]
PDCLIB-1 uselocale

9 years agoPDCLIB-2 PDCLIB-9 wcrtomb
Owen Shepherd [Tue, 1 Jan 2013 21:09:49 +0000 (21:09 +0000)]
PDCLIB-2 PDCLIB-9 wcrtomb

9 years agoPDCLIB-2 PDCLIB-9 mbrtowc
Owen Shepherd [Tue, 1 Jan 2013 21:08:56 +0000 (21:08 +0000)]
PDCLIB-2 PDCLIB-9 mbrtowc

9 years agoAdd internal aliases for non _l variants
Owen Shepherd [Tue, 1 Jan 2013 21:04:21 +0000 (21:04 +0000)]
Add internal aliases for non _l variants

9 years agoPDCLIB-2 PDCLIB-8: Implement mbrtowc using mbrtoc32/mbrtoc16 depending upon definitio...
Owen Shepherd [Tue, 1 Jan 2013 17:58:45 +0000 (17:58 +0000)]
PDCLIB-2 PDCLIB-8: Implement mbrtowc using mbrtoc32/mbrtoc16 depending upon definition of wchar_t

9 years agoPDCLIB-2 PDCLIB-9: Fix warning in c32rtomb
Owen Shepherd [Tue, 1 Jan 2013 17:57:28 +0000 (17:57 +0000)]
PDCLIB-2 PDCLIB-9: Fix warning in c32rtomb

9 years agoPDCLIB-2 PDCLIB-9: Single character conversions for <uchar.h>
Owen Shepherd [Mon, 31 Dec 2012 20:34:58 +0000 (20:34 +0000)]
PDCLIB-2 PDCLIB-9: Single character conversions for <uchar.h>

9 years agoPDCLIB-2 PDCLIB-9: MB_CUR_MAX macro and implementation
Owen Shepherd [Mon, 31 Dec 2012 20:34:22 +0000 (20:34 +0000)]
PDCLIB-2 PDCLIB-9: MB_CUR_MAX macro and implementation

9 years agoMove lconv definition for default locale inside of struct
Owen Shepherd [Mon, 31 Dec 2012 20:31:03 +0000 (20:31 +0000)]
Move lconv definition for default locale inside of struct

9 years agoPDCLIB-2 Add strlen() variant for char16_t/char32_t strings
Owen Shepherd [Mon, 31 Dec 2012 20:30:20 +0000 (20:30 +0000)]
PDCLIB-2 Add strlen() variant for char16_t/char32_t strings

9 years agoEnsure newline at end of file (suppress warning)
Owen Shepherd [Mon, 31 Dec 2012 20:29:31 +0000 (20:29 +0000)]
Ensure newline at end of file (suppress warning)

9 years agoPDCLIB-1 locale functions only included <_PDCLIB_locale.h>, not <locale.h>. This...
Owen Shepherd [Mon, 31 Dec 2012 20:28:46 +0000 (20:28 +0000)]
PDCLIB-1 locale functions only included <_PDCLIB_locale.h>, not <locale.h>. This prevented compilation in regression test mode

9 years agoPDCLIB-1 PDCLIB-2 PDCLIB-9 PDCLIB-12: Add thread specific locale support; migrate...
Owen Shepherd [Mon, 31 Dec 2012 19:20:06 +0000 (19:20 +0000)]
PDCLIB-1 PDCLIB-2 PDCLIB-9 PDCLIB-12: Add thread specific locale support; migrate existing codebase to utilise it

9 years agopthread c11 threading backend: add support for thread specific data
Owen Shepherd [Mon, 31 Dec 2012 19:17:07 +0000 (19:17 +0000)]
pthread c11 threading backend: add support for thread specific data

9 years agoAnnotate C32 functions as having no test driver
Owen Shepherd [Mon, 31 Dec 2012 16:25:22 +0000 (16:25 +0000)]
Annotate C32 functions as having no test driver

9 years agoPDCLIB-2 PDCLIB-9: Add char32/char16 conversions to header, incl. optional extras...
Owen Shepherd [Mon, 31 Dec 2012 16:16:01 +0000 (16:16 +0000)]
PDCLIB-2 PDCLIB-9: Add char32/char16 conversions to header, incl. optional extras providing string conversions (which will be used internally by the library to implement wide character conversions)

Implement (as yet untested) ucs-4 conversions

9 years agoPDCLIB-2 PDCLIB-9: As an extension, add the POSIX thread-local locale API
Owen Shepherd [Mon, 31 Dec 2012 16:00:46 +0000 (16:00 +0000)]
PDCLIB-2 PDCLIB-9: As an extension, add the POSIX thread-local locale API

9 years agoPDCLIB-2 PDCLIB-12 tighten up restrict qualifiers on codec interface
Owen Shepherd [Mon, 31 Dec 2012 15:57:42 +0000 (15:57 +0000)]
PDCLIB-2 PDCLIB-12 tighten up restrict qualifiers on codec interface

9 years agoMinimize the amount of internal definitions which get exposed via the user-visible...
Owen Shepherd [Mon, 31 Dec 2012 14:15:18 +0000 (14:15 +0000)]
Minimize the amount of internal definitions which get exposed via the user-visible headers

9 years agoPDCLIB-2 PDCLIB-12: If the internal character conversion routines are called
Owen Shepherd [Mon, 31 Dec 2012 01:38:06 +0000 (01:38 +0000)]
PDCLIB-2 PDCLIB-12: If the internal character conversion routines are called
with p_outbuf == NULL, then they will perform the conversion but *not* store
the result. This facilitates the implementation of mbrlen and similar
functions.

Added (optional) UTF-16 variants of the conversion routines. If provided them,
then PDCLib will use them whenever it needs a UTF-16 conversion (e.g. uchar.h
UTF-16 routines, or wchar_t on win32)

9 years agoPDCLIB-2 PDCLIB-12: UTF-8 codec
Owen Shepherd [Mon, 31 Dec 2012 00:29:22 +0000 (00:29 +0000)]
PDCLIB-2 PDCLIB-12: UTF-8 codec

9 years agoassert: for assert(x), mark !x case as _PDCLIB_UNREACHABLE
Owen Shepherd [Mon, 31 Dec 2012 00:29:06 +0000 (00:29 +0000)]
assert: for assert(x), mark !x case as _PDCLIB_UNREACHABLE

9 years agoAdd _PDCLIB_UNREACHABLE (defines block of code as unreachable) and _PDCLIB_UNDEFINED...
Owen Shepherd [Sun, 30 Dec 2012 22:55:11 +0000 (22:55 +0000)]
Add _PDCLIB_UNREACHABLE (defines block of code as unreachable) and _PDCLIB_UNDEFINED(var) (defines the contents of the passed variable to be undefined) macros to _PDCLIB_aux.h