#ifndef SKSL_STRING
#define SKSL_STRING
#include "include/core/SkTypes.h"
#include "src/base/SkNoDestructor.h"
#include "src/sksl/SkSLDefines.h"
#include <stdarg.h>
#include <string>
#include <string_view>
namespace SkSL {
bool stod(std::string_view s, SKSL_FLOAT* value);
bool stoi(std::string_view s, SKSL_INT* value);
namespace String {
std::string printf(const char* fmt, ...) SK_PRINTF_LIKE(1, 2);
void appendf(std::string* str, const char* fmt, ...) SK_PRINTF_LIKE(2, 3);
void vappendf(std::string* str, const char* fmt, va_list va) SK_PRINTF_LIKE(2, 0);
inline auto Separator() { … }
}
}
namespace skstd {
std::string to_string(float value);
std::string to_string(double value);
}
#endif