Skip to content

Made NOB_SVLIT a compile-time constant - #256

Closed
Arhcout wants to merge 1 commit into
tsoding:mainfrom
Arhcout:main
Closed

Made NOB_SVLIT a compile-time constant#256
Arhcout wants to merge 1 commit into
tsoding:mainfrom
Arhcout:main

Conversation

@Arhcout

@Arhcout Arhcout commented Jul 16, 2026

Copy link
Copy Markdown

Removed the use of nob_sv_from_parts in NOB_SVLIT and replacing it by a simple struct initializer.

The previous version made it impossible to initialize global string views using NOB_SVLIT.

Remove the use of nob_sv_from_parts in NOB_SVLIT and replacing it by a
simple struct initializer.

The previous version made it impossible to initialize global string views
using NOB_SVLIT.
@rexim

rexim commented Jul 17, 2026

Copy link
Copy Markdown
Member

@Arhcout thank you for the heads up! Addressed this in #257

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