summaryrefslogtreecommitdiff
path: root/demo-printing.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo-printing.c')
-rw-r--r--demo-printing.c12
1 files changed, 12 insertions, 0 deletions
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