Skip to content

Add documentation for inline function patterns option for cmock#1096

Open
Letme wants to merge 1 commit intoThrowTheSwitch:masterfrom
Letme:include_inline_function_patterns
Open

Add documentation for inline function patterns option for cmock#1096
Letme wants to merge 1 commit intoThrowTheSwitch:masterfrom
Letme:include_inline_function_patterns

Conversation

@Letme
Copy link
Copy Markdown
Contributor

@Letme Letme commented Aug 18, 2025

In default project.yml file we were missing the inline_function_patterns, which is usually crucial for when you have a custom inline function definition or macro. Since that is in CMock documentation and treat_inlines is by default to exclude I made sure I commented out the rest.

While at it I also fixed the typo in treat_externs and treat_inlines few lines above.

Closes #1092

In default project.yml file we were missing the inline_function_patterns, which is usually crucial for when you have a custom inline function definition or macro. Since that is in CMock documentation and treat_inlines is by default to exclude I made sure I commented out the rest.

While at it I also fixed the typo in treat_externs and treat_inlines few lines above.
@Letme Letme changed the title Add inline function patterns option for cmock Add documentation for inline function patterns option for cmock Aug 18, 2025
@Letme
Copy link
Copy Markdown
Contributor Author

Letme commented Aug 18, 2025

I am not sure this is the only spot that needs fixing to allow changes to default project.yml generation, but it should provide a hint. I like most the tools that generate all available options with default values configuration to make it explicit which features are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

[BUG] Mocking fails when a macro precedes a function definition

2 participants