libv8-node 16.20.0.0-aarch64-linux-musl → 17.9.1.0-aarch64-linux-musl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/ext/libv8-node/location.rb +1 -1
  3. data/ext/libv8-node/paths.rb +1 -1
  4. data/lib/libv8/node/version.rb +3 -3
  5. data/vendor/v8/aarch64-linux-musl/libv8/obj/libv8_monolith.a +0 -0
  6. data/vendor/v8/include/cppgc/allocation.h +11 -5
  7. data/vendor/v8/include/cppgc/cross-thread-persistent.h +78 -26
  8. data/vendor/v8/include/cppgc/internal/caged-heap-local-data.h +2 -2
  9. data/vendor/v8/include/cppgc/internal/finalizer-trait.h +2 -0
  10. data/vendor/v8/include/cppgc/internal/gc-info.h +90 -10
  11. data/vendor/v8/include/cppgc/internal/name-trait.h +11 -0
  12. data/vendor/v8/include/cppgc/internal/persistent-node.h +44 -12
  13. data/vendor/v8/include/cppgc/internal/pointer-policies.h +22 -11
  14. data/vendor/v8/include/cppgc/internal/write-barrier.h +9 -1
  15. data/vendor/v8/include/cppgc/persistent.h +1 -1
  16. data/vendor/v8/include/cppgc/prefinalizer.h +1 -1
  17. data/vendor/v8/include/v8-array-buffer.h +433 -0
  18. data/vendor/v8/include/v8-callbacks.h +377 -0
  19. data/vendor/v8/include/v8-container.h +129 -0
  20. data/vendor/v8/include/v8-context.h +418 -0
  21. data/vendor/v8/include/v8-cppgc.h +5 -2
  22. data/vendor/v8/include/v8-data.h +65 -0
  23. data/vendor/v8/include/v8-date.h +43 -0
  24. data/vendor/v8/include/v8-debug.h +151 -0
  25. data/vendor/v8/include/v8-embedder-heap.h +238 -0
  26. data/vendor/v8/include/v8-exception.h +224 -0
  27. data/vendor/v8/include/v8-extension.h +62 -0
  28. data/vendor/v8/include/v8-external.h +37 -0
  29. data/vendor/v8/include/v8-fast-api-calls.h +63 -11
  30. data/vendor/v8/include/v8-forward.h +81 -0
  31. data/vendor/v8/include/v8-function-callback.h +475 -0
  32. data/vendor/v8/include/v8-function.h +122 -0
  33. data/vendor/v8/include/v8-initialization.h +282 -0
  34. data/vendor/v8/include/v8-inspector.h +11 -21
  35. data/vendor/v8/include/v8-internal.h +85 -22
  36. data/vendor/v8/include/v8-isolate.h +1662 -0
  37. data/vendor/v8/include/v8-json.h +47 -0
  38. data/vendor/v8/include/v8-local-handle.h +459 -0
  39. data/vendor/v8/include/v8-locker.h +148 -0
  40. data/vendor/v8/include/v8-maybe.h +137 -0
  41. data/vendor/v8/include/v8-memory-span.h +43 -0
  42. data/vendor/v8/include/v8-message.h +241 -0
  43. data/vendor/v8/include/v8-metrics.h +37 -1
  44. data/vendor/v8/include/v8-microtask-queue.h +152 -0
  45. data/vendor/v8/include/v8-microtask.h +28 -0
  46. data/vendor/v8/include/v8-object.h +770 -0
  47. data/vendor/v8/include/v8-persistent-handle.h +590 -0
  48. data/vendor/v8/include/v8-platform.h +41 -17
  49. data/vendor/v8/include/v8-primitive-object.h +118 -0
  50. data/vendor/v8/include/v8-primitive.h +858 -0
  51. data/vendor/v8/include/v8-profiler.h +10 -11
  52. data/vendor/v8/include/v8-promise.h +174 -0
  53. data/vendor/v8/include/v8-proxy.h +50 -0
  54. data/vendor/v8/include/v8-regexp.h +105 -0
  55. data/vendor/v8/include/v8-script.h +771 -0
  56. data/vendor/v8/include/v8-snapshot.h +198 -0
  57. data/vendor/v8/include/v8-statistics.h +215 -0
  58. data/vendor/v8/include/v8-template.h +1052 -0
  59. data/vendor/v8/include/v8-traced-handle.h +605 -0
  60. data/vendor/v8/include/v8-typed-array.h +282 -0
  61. data/vendor/v8/include/v8-unwinder-state.h +4 -3
  62. data/vendor/v8/include/v8-unwinder.h +129 -0
  63. data/vendor/v8/include/v8-util.h +7 -1
  64. data/vendor/v8/include/v8-value-serializer.h +249 -0
  65. data/vendor/v8/include/v8-value.h +526 -0
  66. data/vendor/v8/include/v8-version.h +3 -3
  67. data/vendor/v8/include/v8-wasm.h +245 -0
  68. data/vendor/v8/include/v8-weak-callback-info.h +73 -0
  69. data/vendor/v8/include/v8.h +41 -12604
  70. metadata +47 -5
@@ -0,0 +1,118 @@
1
+ // Copyright 2021 the V8 project authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ #ifndef INCLUDE_V8_PRIMITIVE_OBJECT_H_
6
+ #define INCLUDE_V8_PRIMITIVE_OBJECT_H_
7
+
8
+ #include "v8-local-handle.h" // NOLINT(build/include_directory)
9
+ #include "v8-object.h" // NOLINT(build/include_directory)
10
+ #include "v8config.h" // NOLINT(build/include_directory)
11
+
12
+ namespace v8 {
13
+
14
+ class Isolate;
15
+
16
+ /**
17
+ * A Number object (ECMA-262, 4.3.21).
18
+ */
19
+ class V8_EXPORT NumberObject : public Object {
20
+ public:
21
+ static Local<Value> New(Isolate* isolate, double value);
22
+
23
+ double ValueOf() const;
24
+
25
+ V8_INLINE static NumberObject* Cast(Value* value) {
26
+ #ifdef V8_ENABLE_CHECKS
27
+ CheckCast(value);
28
+ #endif
29
+ return static_cast<NumberObject*>(value);
30
+ }
31
+
32
+ private:
33
+ static void CheckCast(Value* obj);
34
+ };
35
+
36
+ /**
37
+ * A BigInt object (https://tc39.github.io/proposal-bigint)
38
+ */
39
+ class V8_EXPORT BigIntObject : public Object {
40
+ public:
41
+ static Local<Value> New(Isolate* isolate, int64_t value);
42
+
43
+ Local<BigInt> ValueOf() const;
44
+
45
+ V8_INLINE static BigIntObject* Cast(Value* value) {
46
+ #ifdef V8_ENABLE_CHECKS
47
+ CheckCast(value);
48
+ #endif
49
+ return static_cast<BigIntObject*>(value);
50
+ }
51
+
52
+ private:
53
+ static void CheckCast(Value* obj);
54
+ };
55
+
56
+ /**
57
+ * A Boolean object (ECMA-262, 4.3.15).
58
+ */
59
+ class V8_EXPORT BooleanObject : public Object {
60
+ public:
61
+ static Local<Value> New(Isolate* isolate, bool value);
62
+
63
+ bool ValueOf() const;
64
+
65
+ V8_INLINE static BooleanObject* Cast(Value* value) {
66
+ #ifdef V8_ENABLE_CHECKS
67
+ CheckCast(value);
68
+ #endif
69
+ return static_cast<BooleanObject*>(value);
70
+ }
71
+
72
+ private:
73
+ static void CheckCast(Value* obj);
74
+ };
75
+
76
+ /**
77
+ * A String object (ECMA-262, 4.3.18).
78
+ */
79
+ class V8_EXPORT StringObject : public Object {
80
+ public:
81
+ static Local<Value> New(Isolate* isolate, Local<String> value);
82
+
83
+ Local<String> ValueOf() const;
84
+
85
+ V8_INLINE static StringObject* Cast(Value* value) {
86
+ #ifdef V8_ENABLE_CHECKS
87
+ CheckCast(value);
88
+ #endif
89
+ return static_cast<StringObject*>(value);
90
+ }
91
+
92
+ private:
93
+ static void CheckCast(Value* obj);
94
+ };
95
+
96
+ /**
97
+ * A Symbol object (ECMA-262 edition 6).
98
+ */
99
+ class V8_EXPORT SymbolObject : public Object {
100
+ public:
101
+ static Local<Value> New(Isolate* isolate, Local<Symbol> value);
102
+
103
+ Local<Symbol> ValueOf() const;
104
+
105
+ V8_INLINE static SymbolObject* Cast(Value* value) {
106
+ #ifdef V8_ENABLE_CHECKS
107
+ CheckCast(value);
108
+ #endif
109
+ return static_cast<SymbolObject*>(value);
110
+ }
111
+
112
+ private:
113
+ static void CheckCast(Value* obj);
114
+ };
115
+
116
+ } // namespace v8
117
+
118
+ #endif // INCLUDE_V8_PRIMITIVE_OBJECT_H_