mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
document the payload.
This commit is contained in:
parent
99182a6519
commit
5f1c8032e3
1 changed files with 9 additions and 1 deletions
|
@ -6,10 +6,18 @@
|
|||
|
||||
/**
|
||||
* Holds a reference to a V8 heap object. This serves as the base
|
||||
* class for all of the low-level proxies that reference into V8
|
||||
* class for all of the low-level proxies that reference into V8.
|
||||
*
|
||||
*/
|
||||
struct v8_handle {
|
||||
|
||||
/**
|
||||
* Contains the *actual* V8 references. This object is kept
|
||||
* separate so that it can be "detached" from the handle when
|
||||
* it is garbage collected, and enqueued separately and
|
||||
* collected in the context of a V8 thread.
|
||||
*/
|
||||
|
||||
struct Payload {
|
||||
Payload(v8::Handle<void> object);
|
||||
virtual ~Payload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue