diff options
author | 2022-12-11 16:14:53 -0800 | |
---|---|---|
committer | 2022-12-11 16:14:53 -0800 | |
commit | 27e40b0836f183430e5ac7128d9046c561c07e73 (patch) | |
tree | a4dd9b600c0fb49f881169a5996a42085ee86993 /src/bun.js/bindings/wtf-bindings.cpp | |
parent | b57f51fda2b8255ff986887c9b975db96277400a (diff) | |
download | bun-27e40b0836f183430e5ac7128d9046c561c07e73.tar.gz bun-27e40b0836f183430e5ac7128d9046c561c07e73.tar.zst bun-27e40b0836f183430e5ac7128d9046c561c07e73.zip |
Update WebKit
cc @cirospaciari you will need to re-download the precompiled WebKit build from the releases page https://github.com/oven-sh/WebKit/releases/tag/dec11 because there is one small WebKit API change. LMK if you have any trouble with that
Diffstat (limited to 'src/bun.js/bindings/wtf-bindings.cpp')
-rw-r--r-- | src/bun.js/bindings/wtf-bindings.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bun.js/bindings/wtf-bindings.cpp b/src/bun.js/bindings/wtf-bindings.cpp index 699e3db5b..5c0e593d7 100644 --- a/src/bun.js/bindings/wtf-bindings.cpp +++ b/src/bun.js/bindings/wtf-bindings.cpp @@ -2,6 +2,12 @@ #include "wtf/text/Base64.h" #include "wtf/StackTrace.h" +#include "wtf/dtoa.h" + +extern "C" double WTF__parseDouble(const LChar* string, size_t length, size_t* position) +{ + return WTF::parseDouble(string, length, *position); +} extern "C" void WTF__copyLCharsFromUCharSource(LChar* destination, const UChar* source, size_t length) { @@ -27,7 +33,7 @@ extern "C" void Bun__crashReportDumpStackTrace(void* ctx) bool isFirst = true; for (int frameNumber = 0; frameNumber < size; ++frameNumber) { auto demangled = WTF::StackTraceSymbolResolver::demangle(stack[frameNumber]); - + StringPrintStream out; if (isFirst) { isFirst = false; |