Add NativeCallContext::position.

This commit is contained in:
Stephen Chung
2021-11-05 19:35:33 +08:00
parent ff9ac41da2
commit affbb81d8a
6 changed files with 57 additions and 18 deletions

View File

@@ -36,4 +36,5 @@ fn check_struct_sizes() {
if cfg!(feature = "no_position") { 8 } else { 16 }
);
assert_eq!(size_of::<EvalAltResult>(), 72);
assert_eq!(size_of::<NativeCallContext>(), 72);
}