Skip to content

Switch prefix stripping to opt-in #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

cello-ben
Copy link

Per a comment on a recent stream, switch NOB_STRIP_PREFIX to NOB_ADD_PREFIX and set it to work in reverse. That is, only add prefixes if desired, to mitigate name collisions. Update shared.h code to comport with this, as well as nob.c to show it in action, as well as changed documentation to reflect the changes. Happy to switch to only updating the main nob.h file.

@cello-ben cello-ben requested a review from rexim May 16, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants