LICENSE: BSD 3-Clause "New" or "Revised" License
[libmalice.git] / demo-printing.c
1 #include "libmalice.h"
2
3 int lmMain(void)
4 {
5   lmPrintString("This demo intersperses strings, integers and single characters:\n");
6
7   lmPrintString("The integer ");
8   lmPrintInt32s(-559038737);
9   lmPrintString(" is negative");
10   lmPrintChar('.');
11   lmPrintChar(' ');
12   lmPrintInt32s(3);
13   lmPrintString(" is positive.");
14   lmPrintChar('\n');
15
16   return 0;
17 }