mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update plugins API
This commit is contained in:
parent
3d30dfc652
commit
fd4afc93a8
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ pub fn expand_jstraceable(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem, item:
|
||||||
args: vec!(ty::Ptr(box ty::Literal(ty::Path::new(vec!("js","jsapi","JSTracer"))), ty::Raw(ast::MutMutable))),
|
args: vec!(ty::Ptr(box ty::Literal(ty::Path::new(vec!("js","jsapi","JSTracer"))), ty::Raw(ast::MutMutable))),
|
||||||
ret_ty: ty::nil_ty(),
|
ret_ty: ty::nil_ty(),
|
||||||
attributes: vec![quote_attr!(cx, #[inline(always)])],
|
attributes: vec![quote_attr!(cx, #[inline(always)])],
|
||||||
|
is_unsafe: false,
|
||||||
combine_substructure: combine_substructure(box jstraceable_substructure)
|
combine_substructure: combine_substructure(box jstraceable_substructure)
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue