mirror of
https://github.com/NixOS/nix
synced 2025-07-06 09:11:47 +02:00
correctly parse strings with null bytes and throw error
This commit is contained in:
parent
442a2623e4
commit
a44e9dd1ea
7 changed files with 22 additions and 13 deletions
|
@ -510,6 +510,6 @@ typedef std::shared_ptr<Value *> RootValue;
|
|||
|
||||
RootValue allocRootValue(Value * v);
|
||||
|
||||
void forceNoNullByte(std::string_view s);
|
||||
void forceNoNullByte(std::string_view s, std::function<Pos()> = nullptr);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue