-
Notifications
You must be signed in to change notification settings - Fork 67
Revise and expand on C/C++ language support section #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
vados-cosmonic
merged 34 commits into
bytecodealliance:main
from
catamorphism:language-support-c
Aug 12, 2025
+250
−82
Merged
Changes from 31 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
5610021
Revise and expand on C/C++ language support section
catamorphism 6d68e09
Update component-model/src/language-support/c.md
catamorphism df8a045
Update component-model/src/language-support/c.md
catamorphism d47c634
Update component-model/src/language-support/c.md
catamorphism 1140922
Update component-model/src/language-support/c.md
catamorphism b28929a
Update component-model/src/language-support/c.md
catamorphism ac98c1a
Update component-model/src/language-support/c.md
catamorphism 0cf108d
Update component-model/src/language-support/c.md
catamorphism 09e2c4f
Fix markup in NOTE
catamorphism 014a58c
Fix backtick spacing
catamorphism dbbf191
Update component-model/src/language-support/c.md
catamorphism 3be8a7e
Update component-model/src/language-support/c.md
catamorphism 42746b9
Update component-model/src/language-support/c.md
catamorphism c02e274
Update component-model/src/language-support/c.md
catamorphism 8bbe5bd
Update component-model/src/language-support/c.md
catamorphism 62ab88e
Update component-model/src/language-support/c.md
catamorphism 7e553ee
Update component-model/src/language-support/c.md
catamorphism b6a4b0b
Update component-model/src/language-support/c.md
catamorphism fc58b33
Update component-model/src/language-support/c.md
catamorphism c77a855
Update component-model/src/language-support/c.md
catamorphism 069313a
Update component-model/src/language-support/c.md
catamorphism 58215c5
Update component-model/src/language-support/c.md
catamorphism 1869fcf
Update component-model/src/language-support/c.md
catamorphism ac9f43b
Update component-model/src/language-support/c.md
catamorphism 08f6720
Update component-model/src/language-support/c.md
catamorphism b93f7d4
Update component-model/src/language-support/c.md
catamorphism d6737d5
Update component-model/src/language-support/c.md
catamorphism e25ffd7
Update component-model/src/language-support/c.md
catamorphism 363e7c9
Update component-model/src/language-support/c.md
catamorphism 5bceb22
Indent note about PATH
catamorphism dc7a784
Minor fixes
catamorphism b75535f
Add comment in component_with_printf example
catamorphism 4ccf45e
Fix broken 'Add WASI to Linker' link
catamorphism 7982cf8
Address review feedback
catamorphism File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "adder.h" | ||
|
||
uint32_t exports_docs_adder_add_add(uint32_t x, uint32_t y) | ||
{ | ||
return x + y; | ||
} |
9 changes: 9 additions & 0 deletions
9
component-model/examples/tutorial/c/adder/component_with_printf.c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "adder.h" | ||
#include <stdio.h> | ||
|
||
uint32_t exports_docs_adder_add_add(uint32_t x, uint32_t y) | ||
{ | ||
uint32_t result = x + y; | ||
printf("%d", result); | ||
vados-cosmonic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
return result; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.