Add tutorial documentation for \c_api\ annotation - #592
Open
SeanTAllen wants to merge 1 commit into
Open
Conversation
ponyc PR #5898 adds the \c_api\ annotation for C-ABI interop. This adds the corresponding tutorial content: a new "Exporting Pony Methods to C" page in the C FFI section, a brief entry in Program Annotations, and cross-references from the C Shims and C FFI overview pages.
✅ Deploy Preview for pony-tutorial ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
SeanTAllen
marked this pull request as ready for review
August 30, 2026 02:57
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Documents the
\c_api\annotation from ponylang/ponyc#5898.Adds a new "Exporting Pony Methods to C" page in the C FFI section covering which types can be annotated, how C symbol names are derived, which methods are exported and which are excluded, how primitives are handled, how to export generic types via type aliases, and the Pony-to-C type mapping.
Also adds a brief entry in the Program Annotations appendix and cross-references from the C Shims page and the C FFI overview.
Blocked on ponylang/ponyc#5898 merging. Post-release item added to ponylang/ponyc#5855.