mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-16 12:20:12 +00:00
Added .clang-format, formatted codebase
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#include "lbox.h"
|
||||
#include "lvm.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "lvm.h"
|
||||
#include "lbox.h"
|
||||
|
||||
/* VM BOX Demo:
|
||||
A secret message has been xor'd, the BOX_SKID is used to decode the message.
|
||||
*/
|
||||
*/
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
#define VMTEST_STR_DATA { \
|
||||
0x96, 0xBB, 0xB2, 0xB2, 0xB1, 0xFE, 0x89, 0xB1, \
|
||||
@@ -14,8 +16,11 @@
|
||||
0xCE, 0xEA, 0xFC, 0x01, 0x9C, 0x23, 0x4D, 0xEE \
|
||||
};
|
||||
|
||||
int main(int argv, char **argc) {
|
||||
LAIKA_BOX_STARTVAR(char*, str, LAIKA_BOX_SKID(0xDE), VMTEST_STR_DATA)
|
||||
/* clang-format on */
|
||||
|
||||
int main(int argv, char **argc)
|
||||
{
|
||||
LAIKA_BOX_STARTVAR(char *, str, LAIKA_BOX_SKID(0xDE), VMTEST_STR_DATA)
|
||||
printf("%s\n", str);
|
||||
LAIKA_BOX_ENDVAR(str)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user