Project Nayuki
a06aef7c62
Added null checks and error termination logic to runnable main C code after calls to malloc()/calloc(), removed an unnecessary non-null assertion.
3 years ago
Project Nayuki
9312480978
In C version, added many explicit integer type casts for signedness, with the help of GCC's "-Wsign-conversion" and "-Wconversion".
5 years ago
Project Nayuki
0cded0ba36
Aligned main comments in demo programs.
6 years ago
Project Nayuki
dd47ef10c7
Split long text constants in demo programs.
6 years ago
Project Nayuki
c0b684bc18
Tweaked comment for kanji demo in multiple languages, so that it corresponds to the order in the sample text string.
7 years ago
Project Nayuki
6a71e09f72
Added/tweaked comments and blank lines in demo programs of all language versions except JavaScript.
7 years ago
Project Nayuki
8fe7878e1e
Changed output format of C and C++ demo programs to match design intent and other languages.
7 years ago
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.
7 years ago
Project Nayuki
c4c8d6ba45
Added examples of custom segments to C demo program.
7 years ago
Project Nayuki
c42fd75b77
Tweaked C demo code to be more correct by declaring nullary functions with '(void)'.
8 years ago
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.
8 years ago
Project Nayuki
bc12aa1dc6
Refactored C demo program code to remove unused parameter, without changing behavior.
8 years ago
Project Nayuki
454534ee33
Changed C API function qrcodegen_getSize() to receive array instead of int, updated runnable programs, deleted test cases for this function.
8 years ago
Project Nayuki
df1c49cc39
Changed C API function qrcodegen_getModule() to remove version argument, updated runnable programs.
8 years ago
Project Nayuki
b0123fee3d
Reduced lines in copyright notice of each source file (related to commit 4bba4c03ed
).
8 years ago
Project Nayuki
7580ee38e0
Added more standard library header #includes to C code to be strict.
8 years ago
Project Nayuki
7f20791aa8
Tweaked comment formatting in C demo code.
8 years ago
Project Nayuki
18b7180580
Added doVarietyDemo() to C demo program code.
8 years ago
Project Nayuki
26b4cf557c
Added new integer constants to C code, updated existing code to make use of them.
8 years ago
Project Nayuki
c81354658b
Added C demo main program.
8 years ago