X-Git-Url: https://git.enpas.org/?p=libmalice.git;a=blobdiff_plain;f=demo-printing.c;fp=demo-printing.c;h=1399e588569d6643dfe4f932004284c827ca33ba;hp=0000000000000000000000000000000000000000;hb=20ac18e7adb5f692ca888e13890c50c7e8e0e695;hpb=95749712f895db5246bc95c5904507748fc66ea0 diff --git a/demo-printing.c b/demo-printing.c new file mode 100644 index 0000000..1399e58 --- /dev/null +++ b/demo-printing.c @@ -0,0 +1,12 @@ +#include "libmalice.h" + +int lmMain(void) +{ + lmPrintString("Goodbye cruel world, I had too much "); + lmPrintInt32s(-559038737); + lmPrintChar('.'); + lmPrintChar('\n'); + lmPrintString("Oh my, I'm still here... ok, I'll exit now.\n"); + + return 42; +} \ No newline at end of file