Commit Graph

15 Commits

Author SHA1 Message Date
Project Nayuki 42f753cfcf Fixed indentation in a line of C code. 2019-07-22 17:31:19 +00:00
Project Nayuki a492346364 Clarified C qrcodegen-worker so that two internal variables use size_t instead of int. 2019-07-22 17:30:40 +00:00
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 3a28ba7dfd Added missing null check in C code after malloc. 2018-12-04 23:46:38 +00:00
Project Nayuki 67bb2b4267 Removed C macros for MALLOC() to not support compiling code verbatim in C++ mode (undoing commit eb536b43c5). 2018-09-17 02:41:39 +00:00
Project Nayuki 8ec5d75766 Simplified a bit of C code. 2017-08-28 04:03:29 +00:00
Project Nayuki 4d6185a5d3 Reorganized a chunk of code in worker program of {Java, Python, C, C++} language versions, without changing behavior. 2017-08-28 04:03:05 +00:00
Project Nayuki eb536b43c5 Tweaked C test program sto be more C++-friendly by adding macro to cast malloc(), refactored existing code to use the macro. 2017-07-04 06:17:08 +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 b0123fee3d Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed). 2017-04-24 20:41:54 +00:00
Project Nayuki 771bdaf069 Updated C worker program code to properly check return value of scanf() (due to GCC warning). 2017-04-21 05:07:14 +00:00
Project Nayuki e1f8c2df7a Added and deleted some comments in Python and C programs. 2017-04-21 05:06:44 +00:00
Project Nayuki 6c5f8d087b Added test worker programs for Java, Python, C; added batch tester in Python. 2017-04-21 00:15:07 +00:00