mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make StructuredCloneData an opaque struct.
This commit is contained in:
parent
b2f40b9873
commit
01444022b0
1 changed files with 2 additions and 4 deletions
|
@ -15,11 +15,9 @@ use js::jsval::{JSVal, UndefinedValue};
|
||||||
use libc::size_t;
|
use libc::size_t;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
#[allow(raw_pointer_deriving)]
|
|
||||||
#[deriving(Copy)]
|
|
||||||
pub struct StructuredCloneData {
|
pub struct StructuredCloneData {
|
||||||
pub data: *mut u64,
|
data: *mut u64,
|
||||||
pub nbytes: size_t,
|
nbytes: size_t,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl StructuredCloneData {
|
impl StructuredCloneData {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue