23 Commits

Author SHA1 Message Date
Project Nayuki
88cc1c05fd Fully fixed C library code to be compilable in C++ mode (polyglot). 2017-07-04 06:18:14 +00:00
Project Nayuki
047f85d164 Tweaked C code to be more correct regarding #include <stddef.h> for size_t. 2017-07-04 05:27:18 +00:00
Project Nayuki
5d1069a93c Added 'extern "C"' directives to make the C header file usable in C++ code. 2017-05-07 21:51:08 +00:00
Project Nayuki
1a2b0065fe Updated comments in C code. 2017-05-06 11:43:14 +00:00
Project Nayuki
c82c6f478b Tweaked C code to give explicit value to Ecc enum, to approve of casting enum values to/from int. 2017-04-26 17:21:44 +00:00
Project Nayuki
23244832b5 Heavily edited (and slightly fixed) public API comments for C library. 2017-04-26 17:20:38 +00:00
Project Nayuki
546029090c Changed C API functions qrcodegen_encodeText() and qrcodegen_encodeBinary() to return boolean status instead of integer version number, updated runnable programs to work with modified API. 2017-04-25 06:15:11 +00:00
Project Nayuki
454534ee33 Changed C API function qrcodegen_getSize() to receive array instead of int, updated runnable programs, deleted test cases for this function. 2017-04-25 06:00:39 +00:00
Project Nayuki
df1c49cc39 Changed C API function qrcodegen_getModule() to remove version argument, updated runnable programs. 2017-04-25 05:46:01 +00:00
Project Nayuki
339efc46b8 Changed C code to prepend a size info byte to beginning of QR Code arrays. This has no visible behavioral change when using qrcodegen APIs, but the array data will be different and all buffers need one extra byte. Old code using the API needs to be recompiled because the buffer length calculation macros changed. 2017-04-25 05:31:15 +00:00
Project Nayuki
b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03edce). 2017-04-24 20:41:54 +00:00
Project Nayuki
9a100aed7d Updated and added numerous comments in C code. 2017-04-20 06:39:03 +00:00
Project Nayuki
26b4cf557c Added new integer constants to C code, updated existing code to make use of them. 2017-04-19 22:17:07 +00:00
Project Nayuki
0cfed8c5de Updated function-level comments in C code. 2017-04-19 21:40:14 +00:00
Project Nayuki
d704cc074b Added and updated section comments in C code. 2017-04-19 21:08:05 +00:00
Project Nayuki
be2e9e7a3a Continued implementing C library by adding logic to support boosting ECC level. 2017-04-19 20:46:32 +00:00
Project Nayuki
47fc47938a Continued implementing C library by adding main QR Code encoding function for text, including support for alphanumeric and numeric mode segments. 2017-04-19 20:45:50 +00:00
Project Nayuki
53359d7ef2 Deleted text-testing functions in C library code. 2017-04-19 20:28:25 +00:00
Project Nayuki
d332c4a91c Continued implementing C library by adding a main QR Code encoding function and auxiliary functions. 2017-04-19 18:07:02 +00:00
Project Nayuki
5e415ae08b Continued implementing C library by adding enums and macros. 2017-04-17 19:22:55 +00:00
Project Nayuki
f49bee7a2d Fixed and tweaked some pieces of C library code. 2017-04-17 19:15:40 +00:00
Project Nayuki
f18ababe0d Continued implementing C library by adding low-level QR Code get/set functions. 2017-04-17 18:02:14 +00:00
Project Nayuki
18a10b6b99 Continued implementing C library by adding header file and text-testing functions. 2017-04-17 17:43:38 +00:00