Skip to content

Commit baae0ba

Browse files
committed
Merge branch 'execute_data_retval' of github.com:brettmc/phper into execute_data_retval
2 parents 7c905f3 + 4521bbc commit baae0ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phper/src/values.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ impl ExecuteData {
157157
}
158158
}
159159

160-
/// Gets associated return value.
160+
/// Gets mutable reference to associated return value.
161161
pub fn get_return_value_mut(&mut self) -> Option<&mut ZVal> {
162162
unsafe {
163163
let val = self.inner.return_value;
@@ -170,7 +170,7 @@ impl ExecuteData {
170170
self.inner.return_value as *mut ZVal
171171
}
172172

173-
/// Gets associated return value pointer.
173+
/// Gets immutable pointer to associated return value.
174174
pub fn get_return_value_ptr(&self) -> *const ZVal {
175175
self.inner.return_value as *const ZVal
176176
}

0 commit comments

Comments
 (0)