Commit Graph

19 Commits

Author SHA1 Message Date
Project Nayuki 9312480978 In C version, added many explicit integer type casts for signedness, with the help of GCC's "-Wsign-conversion" and "-Wconversion". 2019-07-22 16:31:22 +00:00
Project Nayuki 0cded0ba36 Aligned main comments in demo programs. 2018-10-04 19:08:23 +00:00
Project Nayuki dd47ef10c7 Split long text constants in demo programs. 2018-10-04 19:06:54 +00:00
Project Nayuki c0b684bc18 Tweaked comment for kanji demo in multiple languages, so that it corresponds to the order in the sample text string. 2018-06-24 03:33:22 +00:00
Project Nayuki 6a71e09f72 Added/tweaked comments and blank lines in demo programs of all language versions except JavaScript. 2017-10-23 03:51:13 +00:00
Project Nayuki 8fe7878e1e Changed output format of C and C++ demo programs to match design intent and other languages. 2017-10-23 03:46:22 +00:00
Project Nayuki b86466ecd5 - Deleted constructors/functions/code for remasking existing QrCode object (due to doubtful real-world usefulness): C++, Java, JavaScript, Python, Rust.
- Tweaked code and comments due to feature removal: JavaScript, Python.
- Updated demo programs to reflect new API usage and add new example: C, C++, Java, Python, Rust.
2017-10-23 03:45:24 +00:00
Project Nayuki c4c8d6ba45 Added examples of custom segments to C demo program. 2017-09-09 15:55:05 +00:00
Project Nayuki c42fd75b77 Tweaked C demo code to be more correct by declaring nullary functions with '(void)'. 2017-06-26 04:45:51 +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 bc12aa1dc6 Refactored C demo program code to remove unused parameter, without changing behavior. 2017-04-25 06:02:19 +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 b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed). 2017-04-24 20:41:54 +00:00
Project Nayuki 7580ee38e0 Added more standard library header #includes to C code to be strict. 2017-04-20 23:17:48 +00:00
Project Nayuki 7f20791aa8 Tweaked comment formatting in C demo code. 2017-04-20 19:35:58 +00:00
Project Nayuki 18b7180580 Added doVarietyDemo() to C demo program code. 2017-04-20 17:58:05 +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 c81354658b Added C demo main program. 2017-04-19 22:14:08 +00:00