mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
LibJS: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
parent
83846b3861
commit
c14173f651
Notes:
github-actions[bot]
2025-06-30 16:51:52 +00:00
Author: https://github.com/ayeteadoe
Commit: c14173f651
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5215
Reviewed-by: https://github.com/ADKaster ✅
258 changed files with 952 additions and 941 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
namespace JS {
|
||||
|
||||
class Uint8ArrayConstructorHelpers {
|
||||
class JS_API Uint8ArrayConstructorHelpers {
|
||||
public:
|
||||
static void initialize(Realm&, Object& constructor);
|
||||
|
||||
|
@ -26,7 +26,7 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(from_hex);
|
||||
};
|
||||
|
||||
class Uint8ArrayPrototypeHelpers {
|
||||
class JS_API Uint8ArrayPrototypeHelpers {
|
||||
public:
|
||||
static void initialize(Realm&, Object& prototype);
|
||||
|
||||
|
@ -48,10 +48,10 @@ struct DecodeResult {
|
|||
Optional<Completion> error; // [[Error]]
|
||||
};
|
||||
|
||||
ThrowCompletionOr<GC::Ref<TypedArrayBase>> validate_uint8_array(VM&);
|
||||
ThrowCompletionOr<ByteBuffer> get_uint8_array_bytes(VM&, TypedArrayBase const&);
|
||||
void set_uint8_array_bytes(TypedArrayBase&, ReadonlyBytes);
|
||||
DecodeResult from_base64(VM&, StringView string, Alphabet alphabet, AK::LastChunkHandling last_chunk_handling, Optional<size_t> max_length = {});
|
||||
DecodeResult from_hex(VM&, StringView string, Optional<size_t> max_length = {});
|
||||
JS_API ThrowCompletionOr<GC::Ref<TypedArrayBase>> validate_uint8_array(VM&);
|
||||
JS_API ThrowCompletionOr<ByteBuffer> get_uint8_array_bytes(VM&, TypedArrayBase const&);
|
||||
JS_API void set_uint8_array_bytes(TypedArrayBase&, ReadonlyBytes);
|
||||
JS_API DecodeResult from_base64(VM&, StringView string, Alphabet alphabet, AK::LastChunkHandling last_chunk_handling, Optional<size_t> max_length = {});
|
||||
JS_API DecodeResult from_hex(VM&, StringView string, Optional<size_t> max_length = {});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue