Skip to content

Add documentation support for lib, fun, union, cstruct, external, and type (RFC #0011)#15447

Merged
straight-shoota merged 5 commits intocrystal-lang:masterfrom
nobodywasishere:nobody/lib-object-docs
Feb 22, 2025
Merged

Add documentation support for lib, fun, union, cstruct, external, and type (RFC #0011)#15447
straight-shoota merged 5 commits intocrystal-lang:masterfrom
nobodywasishere:nobody/lib-object-docs

Conversation

@nobodywasishere
Copy link
Contributor

@nobodywasishere nobodywasishere commented Feb 11, 2025

Second part of splitting up #15294.

Closes #6721

include SpecialVar

property name : String
property doc : String?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: This looks surprising, but Var is used for the fields of CStructOrUnionDef (see Parser#parse_c_struct_or_union_fields).

nobodywasishere and others added 2 commits February 11, 2025 07:31
Co-authored-by: Johannes Müller <straightshoota@gmail.com>
Copy link
Collaborator

@ysbaddaden ysbaddaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @nobodywasishere 🙇

@ysbaddaden ysbaddaden added this to the 1.16.0 milestone Feb 21, 2025
@straight-shoota straight-shoota merged commit f420f49 into crystal-lang:master Feb 22, 2025
71 checks passed
@nobodywasishere nobodywasishere deleted the nobody/lib-object-docs branch February 22, 2025 16:21
kojix2 pushed a commit to kojix2/crystal that referenced this pull request Feb 23, 2025
…rnal`, and `type` (RFC #11) (crystal-lang#15447)

Co-authored-by: Johannes Müller <straightshoota@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improving crystal docs for C bindings

4 participants