File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/byondapi-rs/src/value Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl ByondValue {
121
121
}
122
122
123
123
/// Reads a value by key through the ref. Fails if the index doesn't exist
124
- fn read_list_index_internal ( & self , index : & ByondValue ) -> Result < ByondValue , Error > {
124
+ pub fn read_list_index_internal ( & self , index : & ByondValue ) -> Result < ByondValue , Error > {
125
125
let mut result = ByondValue :: new ( ) ;
126
126
unsafe {
127
127
map_byond_error ! ( byond( ) . Byond_ReadListIndex ( & self . 0 , & index. 0 , & mut result. 0 ) ) ?;
@@ -130,7 +130,7 @@ impl ByondValue {
130
130
}
131
131
132
132
/// Writes a value by key through the ref. Dunno why it can fail
133
- fn write_list_index_internal (
133
+ pub fn write_list_index_internal (
134
134
& mut self ,
135
135
index : & ByondValue ,
136
136
value : & ByondValue ,
You can’t perform that action at this time.
0 commit comments