mirror of
https://github.com/status-im/QR-Code-generator.git
synced 2026-08-30 17:21:15 +00:00
Added/tweaked comments and blank lines in demo programs of all language versions except JavaScript.
This commit is contained in:
@@ -46,7 +46,6 @@ static void doMaskDemo();
|
||||
static void printQr(const QrCode &qr);
|
||||
|
||||
|
||||
|
||||
// The main application program.
|
||||
int main() {
|
||||
doBasicDemo();
|
||||
@@ -57,6 +56,9 @@ int main() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*---- Demo suite ----*/
|
||||
|
||||
// Creates a single QR Code, then prints it to the console.
|
||||
static void doBasicDemo() {
|
||||
const char *text = "Hello, world!"; // User-supplied text
|
||||
@@ -181,6 +183,9 @@ static void doMaskDemo() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*---- Utilities ----*/
|
||||
|
||||
// Prints the given QR Code to the console.
|
||||
static void printQr(const QrCode &qr) {
|
||||
int border = 4;
|
||||
|
||||
Reference in New Issue
Block a user