-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
I have a project for which I will eventually (probably) want to provide C bindings. It would be enormously convenient if there was a variant of (or feature flag for) the string interner backend which left an extra null-termination byte at the end of every interned string, such that the str_from_interner.as_ptr() could be used from C without first copying the whole string to a new CString.
Is this possible, or am I missing some details which might make this unsafe to do?
Metadata
Metadata
Assignees
Labels
No labels