Conversation
JCash
commented
Feb 17, 2026
| <th></th> | ||
| <th></th> | ||
| </tr> | ||
| {%- if ref.info.language == "C++" and ref.info.namespace != "" -%} |
Contributor
Author
There was a problem hiding this comment.
Only show namespace if it's an actual namespace.
The "namespace" field has been overtaken by other functions as well, so we can't simply check if it's not empty.
| </tr> | ||
| {%- endunless -%} | ||
| {%- endif -%} | ||
| {%- if ref.info.include and ref.info.include != "" -%} |
Contributor
Author
There was a problem hiding this comment.
The include field wasn't set, thus the link was shown, but with no text.
To make it clearer, only show an include, if it actually has one.
|
|
||
| # set api type | ||
| api["info"]["type"] = "Defold " + api["info"]["language"] | ||
| language = api["info"]["language"] |
Contributor
Author
There was a problem hiding this comment.
Tiny cleanup to avoid getting it again later on.
| # generate include path for C++ files | ||
| if language == "C++": | ||
| # generate include path for C/C++ files | ||
| if language in ("C++", "C"): |
Contributor
Author
There was a problem hiding this comment.
The fix for the include file link for C files.
britzl
approved these changes
Feb 17, 2026
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.
No description provided.