From b677d3bb3d6c8fbb0b61621cc8ac53a7d68fa949 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Feb 2020 09:04:53 -0300 Subject: wip --- tmp/add.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tmp/add.c (limited to 'tmp/add.c') diff --git a/tmp/add.c b/tmp/add.c new file mode 100644 index 0000000..99267ed --- /dev/null +++ b/tmp/add.c @@ -0,0 +1,13 @@ +#include "api.h" + +int add(int a, int b) { + return a * a + b; +} + +void persistInt(int n) { + platformDependentPersistInt(n); +} + +int retrieveInt() { + return platformDependentRetrieveInt(); +} -- cgit v1.2.3