aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-03-04 17:01:30 +0100
committerMs2ger <ms2ger@gmail.com>2014-03-04 17:01:30 +0100
commit595cd96f24359f5f143b4fe95f5f7c5bff426615 (patch)
treec2607bcae527dc7ab3eeec7ae592570f732ed884 /src/components/script/dom/testbinding.rs
parent6d3c0bf763d0ed1f69c42122444ef0598ee13d5c (diff)
downloadservo-595cd96f24359f5f143b4fe95f5f7c5bff426615.tar.gz
servo-595cd96f24359f5f143b4fe95f5f7c5bff426615.zip
Extend and update primitive conversions.
Diffstat (limited to 'src/components/script/dom/testbinding.rs')
-rw-r--r--src/components/script/dom/testbinding.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/script/dom/testbinding.rs b/src/components/script/dom/testbinding.rs
index c19b41fa303..361710ad17f 100644
--- a/src/components/script/dom/testbinding.rs
+++ b/src/components/script/dom/testbinding.rs
@@ -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 }