Skip to content

Commit dec20c0

Browse files
committed
feat(RDSurfaceGraph): removed rd_surfacegraph_jump_tp_ep API
1 parent f660993 commit dec20c0

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

include/redasm/surface/graph.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ RD_API void rd_surfacegraph_clear_selection(RDSurfaceGraph* self);
1515
RD_API void rd_surfacegraph_set_mode(RDSurfaceGraph* self, RDRenderMode m);
1616
RD_API void rd_surfacegraph_set_cursor_visible(RDSurfaceGraph* self, bool b);
1717
RD_API void rd_surfacegraph_set_highlight_word(RDSurfaceGraph* self, const char* word);
18-
RD_API bool rd_surfacegraph_jump_to_ep(RDSurfaceGraph* self);
1918
RD_API bool rd_surfacegraph_jump_to(RDSurfaceGraph* self, RDAddress address);
2019
RD_API bool rd_surfacegraph_set_pos(RDSurfaceGraph* self, int row, int col);
2120
RD_API bool rd_surfacegraph_select(RDSurfaceGraph* self, int row, int col);

src/surface/graph.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,6 @@ void rd_surfacegraph_render(RDSurfaceGraph* self) {
118118
_rd_surfacegraph_render_finalize(self);
119119
}
120120

121-
bool rd_surfacegraph_jump_to_ep(RDSurfaceGraph* self) {
122-
bool res = false;
123-
124-
rd_i_surfacestate_with_locked_history(&self->state, {
125-
const RDContext* ctx = self->renderer->context;
126-
127-
RDAddress ep;
128-
res = rd_get_entry_point(ctx, &ep);
129-
if(res) res = rd_surfacegraph_jump_to(self, ep);
130-
});
131-
132-
return res;
133-
}
134-
135121
bool rd_surfacegraph_jump_to(RDSurfaceGraph* self, RDAddress address) {
136122
RDContext* ctx = self->renderer->context;
137123
const RDFunction* f = rd_i_find_function(ctx, address);

0 commit comments

Comments
 (0)