aboutsummaryrefslogtreecommitdiff
path: root/pw_tokenizer/pw_tokenizer_private/tokenize_test.h
diff options
context:
space:
mode:
authorWyatt Hepler <hepler@google.com>2023-02-24 19:15:29 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-24 19:15:29 +0000
commitf47ba189c59f75c6335cf5b77d2cb9ec6721dc06 (patch)
treede4ce2827740544c6b98675d44f4e27d9a42a994 /pw_tokenizer/pw_tokenizer_private/tokenize_test.h
parent1f85b2692c64471f8bb0a5d41cd2f01528355804 (diff)
downloadpigweed-f47ba189c59f75c6335cf5b77d2cb9ec6721dc06.tar.gz
pw_tokenizer: Delete unused code; update docs
- Remove PW_TOKENIZE_TO_GLOBAL_HANDLER() and PW_TOKENIZE_TO_CALLBACK(), which are not used. - Mark PW_TOKENIZE_TO_GLOBAL_HANDLER_WITH_PAYLOAD() as deprecated. A custom macro that calls a user-defined function is preferred. - Update the documentation. Change-Id: Ic8f41bf35e91d4ef5273205003b999f397981009 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/128651 Reviewed-by: Erik Gilling <konkers@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
Diffstat (limited to 'pw_tokenizer/pw_tokenizer_private/tokenize_test.h')
-rw-r--r--pw_tokenizer/pw_tokenizer_private/tokenize_test.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pw_tokenizer/pw_tokenizer_private/tokenize_test.h b/pw_tokenizer/pw_tokenizer_private/tokenize_test.h
index 3c4b4633f..49e4bad05 100644
--- a/pw_tokenizer/pw_tokenizer_private/tokenize_test.h
+++ b/pw_tokenizer/pw_tokenizer_private/tokenize_test.h
@@ -40,8 +40,6 @@ void pw_tokenizer_ToCallbackTest_SequentialZigZag(
void pw_tokenizer_ToBufferTest_Requires8(void* buffer, size_t* buffer_size);
-void pw_tokenizer_ToGlobalHandlerTest_SequentialZigZag(void);
-
void pw_tokenizer_ToGlobalHandlerWithPayloadTest_SequentialZigZag(void);
PW_EXTERN_C_END