Skip to content

Commit 5610021

Browse files
committed
Revise and expand on C/C++ language support section
I tried to define some undefined terms, and verified the commands and their output.
1 parent 42d27ba commit 5610021

3 files changed

Lines changed: 218 additions & 77 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#include "adder.h"
2+
3+
uint32_t exports_docs_adder_add_add(uint32_t x, uint32_t y)
4+
{
5+
return x + y;
6+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include "adder.h"
2+
#include <stdio.h>
3+
4+
uint32_t exports_docs_adder_add_add(uint32_t x, uint32_t y)
5+
{
6+
uint32_t result = x + y;
7+
printf("%d", result);
8+
return result;
9+
}

0 commit comments

Comments
 (0)