-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_tokenizer: Simplify implementing a custom tokenization macro
- Provide PW_TOKENIZER_REPLACE_FORMAT_STRING() to reduce boilerplate in custom tokenization macros. - Provide PW_TOKENIZE_FORMAT_STRING_ANY_ARG_COUNT() to support tokenizing strings without the argument types value, which is limited to 14 arguments by default. Change-Id: Iefe57eb3b52fc717c77bd1be6231976e7b91dc95 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/169121 Pigweed-Auto-Submit: Wyatt Hepler <[email protected]> Reviewed-by: Ted Pudlik <[email protected]> Commit-Queue: Auto-Submit <[email protected]>
- Loading branch information
Showing
3 changed files
with
87 additions
and
38 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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