mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
41d70a2fc8
once a string has been forced we already have dynamic storage allocated for it, so we can easily reuse that storage instead of copying.
13 lines
186 B
C++
13 lines
186 B
C++
#pragma once
|
|
|
|
#include "eval.hh"
|
|
|
|
#include <string>
|
|
|
|
namespace nix {
|
|
|
|
MakeError(JSONParseError, EvalError);
|
|
|
|
void parseJSON(EvalState & state, const std::string_view & s, Value & v);
|
|
|
|
}
|