Skip to content

Add tutorial documentation for \c_api\ annotation - #592

Open
SeanTAllen wants to merge 1 commit into
mainfrom
sean/export-annotation
Open

Add tutorial documentation for \c_api\ annotation#592
SeanTAllen wants to merge 1 commit into
mainfrom
sean/export-annotation

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

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.

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.
@netlify

netlify Bot commented Aug 29, 2026

Copy link
Copy Markdown

Deploy Preview for pony-tutorial ready!

Name Link
🔨 Latest commit 752107f
🔍 Latest deploy log https://app.netlify.com/projects/pony-tutorial/deploys/6a932d07dbebcf00082cff05
😎 Deploy Preview https://deploy-preview-592--pony-tutorial.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Aug 29, 2026
@SeanTAllen SeanTAllen mentioned this pull request Aug 29, 2026
3 tasks
@SeanTAllen SeanTAllen added do not merge This PR should not be merged at this time and removed discuss during sync Should be discussed during an upcoming sync labels Aug 30, 2026
@SeanTAllen
SeanTAllen marked this pull request as ready for review August 30, 2026 02:57
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discuss during sync Should be discussed during an upcoming sync do not merge This PR should not be merged at this time

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants