diff options
author | EuAndreh <eu@euandre.org> | 2020-02-12 09:04:53 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-12 09:04:53 -0300 |
commit | b677d3bb3d6c8fbb0b61621cc8ac53a7d68fa949 (patch) | |
tree | a3d61cd41fbbc1fa1196f6e4bdcb76c549a3f532 /tmp/add.c | |
parent | Sort pastebins listing by date (diff) | |
download | euandre.org-b677d3bb3d6c8fbb0b61621cc8ac53a7d68fa949.tar.gz euandre.org-b677d3bb3d6c8fbb0b61621cc8ac53a7d68fa949.tar.xz |
wip
Diffstat (limited to 'tmp/add.c')
-rw-r--r-- | tmp/add.c | 13 |
1 files changed, 13 insertions, 0 deletions
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(); +} |