diff options
author | 2022-10-23 20:25:18 -0700 | |
---|---|---|
committer | 2022-10-23 20:25:18 -0700 | |
commit | 76652ac3cad64dbc2fd54e976ce4bad0a37caa03 (patch) | |
tree | 179865bc417dc6bf2f224dd310b77b931ee45c73 /src/bun.js/bindings/root.h | |
parent | 14cec299f5170b8ed35eed28e53b88724b8cc04f (diff) | |
download | bun-76652ac3cad64dbc2fd54e976ce4bad0a37caa03.tar.gz bun-76652ac3cad64dbc2fd54e976ce4bad0a37caa03.tar.zst bun-76652ac3cad64dbc2fd54e976ce4bad0a37caa03.zip |
Add Web Crypto API (#1384)
* Add Web Crypto API
* Duplicate symbols
* Update c_cpp_properties.json
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/root.h')
-rw-r--r-- | src/bun.js/bindings/root.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/bun.js/bindings/root.h b/src/bun.js/bindings/root.h index 0e8f2b262..69698bf8c 100644 --- a/src/bun.js/bindings/root.h +++ b/src/bun.js/bindings/root.h @@ -71,12 +71,18 @@ #include "wtf/PlatformCallingConventions.h" #include "JavaScriptCore/JSCInlines.h" +#include "wtf/IsoMalloc.h" +#include "wtf/IsoMallocInlines.h" -#define WTF_MAKE_ISO_ALLOCATED(className) \ - WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(className) +#define ENABLE_WEB_CRYPTO 1 +#define USE_OPENSSL 1 +#define HAVE_RSA_PSS 1 -#define WTF_MAKE_ISO_ALLOCATED_EXPORT(className, a) WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(className); +// #define WTF_MAKE_ISO_ALLOCATED(className) \ +// WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(className) -#define WTF_MAKE_ISO_ALLOCATED_IMPL(className) +// #define WTF_MAKE_ISO_ALLOCATED_EXPORT(className, a) WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(className); + +// #define WTF_MAKE_ISO_ALLOCATED_IMPL(className) #endif
\ No newline at end of file |