Skip to content

Commit fc9deaa

Browse files
committed
Fix 515.1621
1 parent 8d16ff9 commit fc9deaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/byondapi-rs/src/value/functions.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ impl ByondValue {
117117

118118
/// Replaces whatever is currently in this value with a string that's pointed to by the stringid
119119
/// # DO NOT PASS STRINGIDS THAT ARE NOT RETURNED BY [`crate::byond_string::str_id_of`]
120+
#[cfg(feature = "byond-516-1651")]
120121
pub fn set_strid(&mut self, strid: u4c) {
121122
unsafe { byond().ByondValue_SetStrId(&mut self.0, strid) }
122123
}
@@ -249,6 +250,7 @@ impl ByondValue {
249250
unsafe { byond().ByondValue_DecRef(&self.0) }
250251
}
251252

253+
#[cfg(feature = "byond-516-1651")]
252254
pub fn decrement_tempref(&mut self) {
253255
unsafe { byond().ByondValue_DecTempRef(&self.0) }
254256
}

0 commit comments

Comments
 (0)