aboutsummaryrefslogtreecommitdiff
path: root/playground/include/playground.h
diff options
context:
space:
mode:
Diffstat (limited to 'playground/include/playground.h')
-rw-r--r--playground/include/playground.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/playground/include/playground.h b/playground/include/playground.h
index c224908..3ccfeeb 100644
--- a/playground/include/playground.h
+++ b/playground/include/playground.h
@@ -1,10 +1,20 @@
#ifndef PLAYGROUND_H
#define PLAYGROUND_H
-extern "C" void halt();
+extern "C"
+void halt();
+
+extern "C"
+void init_high();
+
+extern "C"
+int main();
+
+extern "C"
+void Default_Handler();
template<typename T, size_t N>
-static inline
+static inline constexpr
size_t SizeOfArray(const T(&)[N]) {
return N;
}