Added C header and printing demo.
[libmalice.git] / demo-printing.c
1 #include "libmalice.h"
2
3 int lmMain(void)
4 {
5   lmPrintString("Goodbye cruel world, I had too much ");
6   lmPrintInt32s(-559038737);
7   lmPrintChar('.');
8   lmPrintChar('\n');
9   lmPrintString("Oh my, I'm still here... ok, I'll exit now.\n");
10
11   return 42;
12 }