mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Extend and update primitive conversions.
This commit is contained in:
parent
6d3c0bf763
commit
595cd96f24
3 changed files with 65 additions and 10 deletions
|
@ -13,8 +13,11 @@ impl TestBinding {
|
|||
pub fn BooleanAttribute(&self) -> bool { false }
|
||||
pub fn SetBooleanAttribute(&self, _: bool) {}
|
||||
pub fn ByteAttribute(&self) -> i8 { 0 }
|
||||
pub fn SetByteAttribute(&self, _: i8) {}
|
||||
pub fn OctetAttribute(&self) -> u8 { 0 }
|
||||
pub fn SetOctetAttribute(&self, _: u8) {}
|
||||
pub fn ShortAttribute(&self) -> i16 { 0 }
|
||||
pub fn SetShortAttribute(&self, _: i16) {}
|
||||
pub fn UnsignedShortAttribute(&self) -> u16 { 0 }
|
||||
pub fn SetUnsignedShortAttribute(&self, _: u16) {}
|
||||
pub fn LongAttribute(&self) -> i32 { 0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue