mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
removed instances of -> () in existing code
This commit is contained in:
parent
b1faaa15dc
commit
d6568e608b
8 changed files with 29 additions and 29 deletions
|
@ -27,12 +27,12 @@ macro_rules! impl_arc_ffi {
|
|||
unsafe impl HasArcFFI for $servo_type {}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn $addref(obj: &$gecko_type) -> () {
|
||||
pub unsafe extern "C" fn $addref(obj: &$gecko_type) {
|
||||
<$servo_type>::addref(obj);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn $release(obj: &$gecko_type) -> () {
|
||||
pub unsafe extern "C" fn $release(obj: &$gecko_type) {
|
||||
<$servo_type>::release(obj);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue