+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-[INFO] Even numbers:
-[INFO] 0
-[INFO] 2
-[INFO] 4
-[INFO] 6
-[INFO] 8
-[INFO] 10
-[INFO] 12
-[INFO] 14
-[INFO] 16
-[INFO] 18
-[INFO] 20
-[INFO] 22
-[INFO] 24
-[INFO] 26
-[INFO] 28
-[INFO] 30
-[INFO] 32
-[INFO] 34
-[INFO] 36
-[INFO] 38
-[INFO] 40
-[INFO] 42
-[INFO] 44
-[INFO] 46
-[INFO] 48
-[INFO] 50
-[INFO] 52
-[INFO] 54
-[INFO] 56
-[INFO] 58
-[INFO] 60
-[INFO] 62
-[INFO] 64
-[INFO] 66
-[INFO] 68
-[INFO] 70
-[INFO] 72
-[INFO] 74
-[INFO] 76
-[INFO] 78
-[INFO] 80
-[INFO] 82
-[INFO] 84
-[INFO] 86
-[INFO] 88
-[INFO] 90
-[INFO] 92
-[INFO] 94
-[INFO] 96
-[INFO] 98
+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-[ERROR] This one is an error log
+++ /dev/null
-[INFO] This is an info log
-[WARNING] And this is a warning log
--- /dev/null
+#define COMMONLIB_IMPLEMENTATION
+#include "../commonlib.h"
+
+int main(void) {
+ int file_size = 0;
+ const char *buff = c_slurp_file(__FILE__, &file_size);
+
+ if (file_size < 0) { return 1; }
+
+ c_log_info("buff: '%s' (%d bytes)", buff, file_size);
+
+ // We don't care about leaking memory since we are just exiting right away!
+ return 0;
+}
+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-program: ./shift_args
-After:
-argc: 0
-argv: (null)
+++ /dev/null
-#define COMMONLIB_IMPLEMENTATION
-#include "../commonlib.h"
-
-int main(void) {
- int file_size = 0;
- const char *buff = c_slurp_file(__FILE__, &file_size);
-
- if (file_size < 0) { return 1; }
-
- c_log_info("buff: '%s' (%d bytes)", buff, file_size);
-
- // We don't care about leaking memory since we are just exiting right away!
- return 0;
-}
+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-[INFO] buff: '#define COMMONLIB_IMPLEMENTATION
-#include "../commonlib.h"
-
-int main(void) {
- bool success = false;
- const char *buff = c_slurp_file(__FILE__, &success);
-
- if (!success) { return 1; }
-
- c_log_info("buff: '%s'", buff);
-
- // We don't care about leaking memory since we are just exiting right away!
- return 0;
-}
-'
+++ /dev/null
-0
\ No newline at end of file
+++ /dev/null
-[INFO] main: 'World!'
-[INFO] a: 'Hello,'
-[INFO] b: 'World!'
-[INFO] mc: '/*Blah Blah
-Blah Blah2
-THis is the end'