forked from lix-project/lix
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);
|
|
|
|
}
|