Skip to content

C: Remove unused functions from token interface#778

Merged
marcoroth merged 3 commits intomarcoroth:mainfrom
timkaechele:token-cleanup
Nov 4, 2025
Merged

C: Remove unused functions from token interface#778
marcoroth merged 3 commits intomarcoroth:mainfrom
timkaechele:token-cleanup

Conversation

@timkaechele
Copy link
Contributor

@timkaechele timkaechele commented Nov 4, 2025

This PR removes functions from the token implementation that were unused.

Removed functions:

  • token_value function
  • token_type function
  • token_sizeof function

In the case of the token_sizeof function call sites were replaced with the more idiomatic sizeof(token_T)

@github-actions github-actions bot added the c label Nov 4, 2025
Copy link
Owner

@marcoroth marcoroth left a comment

Choose a reason for hiding this comment

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

Thanks @timkaechele! 🙌🏼

@marcoroth marcoroth merged commit df6f825 into marcoroth:main Nov 4, 2025
17 checks passed
@timkaechele timkaechele deleted the token-cleanup branch November 4, 2025 14:34
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.

2 participants