We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d16ff9 commit fc9deaaCopy full SHA for fc9deaa
crates/byondapi-rs/src/value/functions.rs
@@ -117,6 +117,7 @@ impl ByondValue {
117
118
/// Replaces whatever is currently in this value with a string that's pointed to by the stringid
119
/// # DO NOT PASS STRINGIDS THAT ARE NOT RETURNED BY [`crate::byond_string::str_id_of`]
120
+ #[cfg(feature = "byond-516-1651")]
121
pub fn set_strid(&mut self, strid: u4c) {
122
unsafe { byond().ByondValue_SetStrId(&mut self.0, strid) }
123
}
@@ -249,6 +250,7 @@ impl ByondValue {
249
250
unsafe { byond().ByondValue_DecRef(&self.0) }
251
252
253
254
pub fn decrement_tempref(&mut self) {
255
unsafe { byond().ByondValue_DecTempRef(&self.0) }
256
0 commit comments