Nigel Tao
721190afff
Have example C++ program check for -std=c++11
2020-04-03 22:25:21 +11:00
Nigel Tao
d60815c93f
Have example/* global variable names start with g_
2020-03-26 14:32:35 +11:00
Nigel Tao
fdac24a425
Rename FOO_BUFFER_SIZE to FOO_BUFFER_ARRAY_SIZE
2020-03-06 21:53:08 +11:00
Nigel Tao
2914bae3b2
Re-format C function signatures
2020-02-26 09:40:30 +11:00
Nigel Tao
1b07349144
Add example/jsonptr
2020-02-16 22:19:12 +11:00
Nigel Tao
e6db7f6a40
Make wuffs_base__status a struct
2020-01-05 10:48:20 +11:00
Nigel Tao
355a95eeea
Add wuffs_base__status__message
2019-12-15 13:31:17 +11:00
Nigel Tao
8ff9cdb9a6
Rename hasher update_u32 method
2019-11-20 21:07:22 +11:00
Nigel Tao
7e384e079e
Take some unistd.h dependencies out of examples
2019-03-09 11:06:26 +11:00
Nigel Tao
c4b8a6a4cc
Don't use designated initializers
...
Some C/C++ compilers, such as MSVC, don't always support them. They're
also not supported by GCC's "g++ -std=c++11 -Wpedantic".
2019-03-09 10:08:00 +11:00
Nigel Tao
53760ce0fd
Call initialize instead of check_wuffs_version
2019-02-16 14:18:25 +11:00
Nigel Tao
670b45be53
Add some "horizontal rule" comment lines
2019-02-02 08:10:08 +11:00
Nigel Tao
dd94ad3821
Rename z variable to status, in C code
2018-12-28 16:14:03 +11:00
Nigel Tao
04c91f1410
Generate .c files instead of .h files
...
The files' contents haven't changed (other than some relative #include's
that refer to other .c files).
Some build systems have difficulty recognizing .h files as things to be
compiled, instead of just things referred to by things to be compiled.
2018-12-22 15:29:00 +11:00
Nigel Tao
b840c80040
Make the status type a const char*, not a struct
2018-08-12 16:05:14 +10:00
Nigel Tao
2a32a86a6c
Make the status type a struct, not an int32_t
2018-08-11 13:27:29 +10:00
Nigel Tao
fd43e777bc
Have check_wuffs_version return a status code
2018-08-05 22:29:54 +10:00
Jimmy Casey
3c50ada2c6
Fixed Spelling.
2018-07-26 17:12:19 +00:00
Nigel Tao
bc82e51371
Rename wuffs-unsupported-snapshot.h
2018-07-21 09:20:10 +10:00
Nigel Tao
8a6e177701
Add WUFFS_CONFIG__STATIC_FUNCTIONS
2018-07-14 10:16:10 +10:00
Nigel Tao
a0bafff465
Ship as a "single file C library"
2018-07-14 08:59:36 +10:00
Nigel Tao
13d2814519
Raise example/crc32's buffer size from 16K to 32K
...
This matches the 32K buffer size used by
https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32
as shipped as /usr/bin/crc32 on Debian
2018-06-30 16:49:13 +10:00
Nigel Tao
30cfaa5db7
Add C++ convenience methods
2018-06-30 13:02:16 +10:00
Nigel Tao
6183aba9d7
Capitalize the $CC and $CXX environment variables
2018-06-30 10:43:26 +10:00
Nigel Tao
f3538d9117
Add example/crc32
2018-06-30 10:41:04 +10:00