/* radare - LGPL - Copyright 2009-2015 - pancake */ #include /* maybe move this into RCore */ static bool marks_init = false; static ut64 marks[UT8_MAX+1]; R_API void r_core_visual_mark_reset(RCore *core) { int i; marks_init = true; for (i=0; ioffset; } R_API void r_core_visual_mark(RCore *core, ut8 ch) { r_core_visual_mark_set (core, ch, core->offset); } R_API void r_core_visual_mark_seek(RCore *core, ut8 ch) { if (marks_init && marks[ch] != UT64_MAX) r_core_seek (core, marks[ch], 1); }