0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-11 01:58:12 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Divy Srivastava
9f78b0abe7
Inline API functions (#1078) 2022-09-21 08:15:33 +05:30
Bert Belder
3b6ed67f5e
Rewrite the scope system from scratch (#406) 2020-06-26 01:42:00 +02:00
Bert Belder
8a4dc30445
Rename to_local() to cast_local(), use a closure (#406)
This makes it possible to add a run-time check that verifies that the
specified closure is actually the one that contains the local handle.
2020-06-19 20:18:07 +02:00
Bert Belder
d1ac68f0c8
Always use raw pointers to send V8 handles between C++ and Rust (#349)
And other pointer usage touch-ups on the C++ side:
- const parameters are passed by & reference.
- mutable parameters are passed by * pointer.
2020-04-14 00:34:32 +02:00
Bert Belder
fb19eecc31
Rename new_null() to null() and new_undefined() to undefined() (#216)
This is more consistent with V8's C++ API.
2020-01-17 08:34:48 +01:00
Bartek Iwańczuk
2aaa62ae41 Add v8::Boolean::new() (#184) 2020-01-05 00:08:27 +01:00
Bert Belder
c205e73138
Generate Deref implementations for subtypes of v8::Data (#160) 2019-12-31 18:33:45 +01:00
Bert Belder
9a72f62bd6
Add complete V8 type hierarchy (#148) 2019-12-30 19:06:45 +01:00
Bert Belder
ae4b48eb22
Get rid of HandleScope closure, add CallbackScope (#119) 2019-12-25 00:31:36 +01:00
Ry Dahl
51737506dd
make InstantiateModule work (#124) 2019-12-23 18:09:03 -05:00
Bert Belder
331582561b
Add Local lifetimes back (#95) 2019-12-21 02:11:54 +01:00
Ry Dahl
68742be011
Remove lifetimes from Local, HandleScope, Locker (#90)
add v8_str
2019-12-19 23:36:29 -05:00
Ryan Dahl
887af28790 Remove LockedIsolate 2019-12-19 20:32:47 -05:00
Ry Dahl
11ba352065
Rename CxxIsolate to Isolate and Isolate to OwnedIsolate (#85) 2019-12-19 19:15:52 -05:00
Bartek Iwańczuk
b698e2fce3 add v8::Object (#55) 2019-12-10 08:14:07 +08:00
Ryan Dahl
7a233e277e Add Value::{is_undefined, is_null, is_null_or_undefined} 2019-12-06 10:43:22 -05:00
Ryan Dahl
f9a29cf56c Add primitive constructors null, undefined, true, false 2019-12-06 10:43:22 -05:00