diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-13 01:31:49 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-13 01:49:22 +0200 |
commit | a9224ebee3b6458dee42d76ec76b1a704e206107 (patch) | |
tree | 5582c794f37cd092a987ce8dc9ae49723d46a1a0 /src/goto.h | |
parent | c2057ebf7e2a34eccd615a7d88085e247e5b9e9f (diff) | |
download | sciteco-a9224ebee3b6458dee42d76ec76b1a704e206107.tar.gz |
remaining types of program counters changed to gsize/gssize
* This fixes F< to the beginning of the macro, which was broken in 73d574b71a10d4661ada20275cafde75aff6c1ba.
teco_machine_main_t::macro_pc actually has to be signed as it is sometimes set to -1.
Diffstat (limited to 'src/goto.h')
-rw-r--r-- | src/goto.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -40,12 +40,12 @@ teco_goto_table_init(teco_goto_table_t *ctx, gboolean must_undo) ctx->must_undo = must_undo; } -gint teco_goto_table_remove(teco_goto_table_t *ctx, const gchar *name, gsize len); +gssize teco_goto_table_remove(teco_goto_table_t *ctx, const gchar *name, gsize len); -gint teco_goto_table_find(teco_goto_table_t *ctx, const gchar *name, gsize len); +gssize teco_goto_table_find(teco_goto_table_t *ctx, const gchar *name, gsize len); -gint teco_goto_table_set(teco_goto_table_t *ctx, const gchar *name, gsize len, gint pc); -void teco_goto_table_undo_set(teco_goto_table_t *ctx, const gchar *name, gsize len, gint pc); +gssize teco_goto_table_set(teco_goto_table_t *ctx, const gchar *name, gsize len, gssize pc); +void teco_goto_table_undo_set(teco_goto_table_t *ctx, const gchar *name, gsize len, gssize pc); /** @memberof teco_goto_table_t */ static inline gboolean |