Commit graph

12 commits

Author SHA1 Message Date
Kevin Locke
07c380d6b7 asserts: Add assertions for wide strings
This commit creates _wcs_ variants of the _str_ assertions for operating
on wchar_t * instead of char *.  The assertions are useful for programs
using wchar_t strings, particularly on Windows where use of the wide
character version of the Windows API is encouraged by Microsoft.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-10 08:48:30 +02:00
Snaipe
d2a4124b87 style: Added and enforce uncrustify config 2016-09-05 21:32:57 +02:00
Snaipe
24f90ea817 Fixed array comparison assert samples 2016-02-13 13:20:10 +01:00
Snaipe
a8ecd27427 Updated asserts sample 2015-09-08 23:56:19 +02:00
Snaipe
4d114fdd38 Changed the assert interface to accept a format string 2015-09-08 18:49:24 +02:00
Snaipe
17cd3c6509 Removed bogus assert in asserts.{c,cc} samples 2015-09-07 08:45:38 +02:00
Snaipe
416b034fe1 Made the interface C++11-compatible 2015-09-07 01:15:31 +02:00
Snaipe
4aa7c07295 Made the samples compile with MSVC 2015-09-06 00:37:30 +02:00
Snaipe
2d46006201 Changed all tests to use cr_-prefixed macros 2015-04-25 16:48:34 +02:00
Snaipe
589bcf60fd Added assert_null and structure arrays asserts 2015-04-14 19:44:30 +02:00
Snaipe
547bd032d2 Renamed equal asserts, added asserts sample in README, added abort_test 2015-03-17 16:11:32 +01:00
Snaipe
02b3dc56f5 Added assert samples 2015-03-11 19:02:47 +01:00