Port the examples to rename _get_at to _safe_get

This commit is contained in:
Patrick Pelissier committed 2021-10-30 00:17:15 +02:00
1 parent 51d4e930f5
commit c96cea5a13
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -48,8 +48,8 @@ static void program_init(program_t p, string_t text) {
int left;
array_int_pop_back(&left, leftstack);
int right = pc;
*array_int_get_at (p->bracket_map, left) = right;
*array_int_get_at (p->bracket_map, right) = left;
*array_int_safe_get (p->bracket_map, left) = right;
*array_int_safe_get (p->bracket_map, right) = left;
}
pc++;