From 99f6da572f455b0ba17c341ec1a63c5826de3ecf Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 22 Feb 2013 05:40:25 +0100 Subject: use typedef for SciTECO integers and make it configurable at configure time * storage size should always be 64 (gint64) to aid macro portability * however, for performance reasons users compiling from source might explicitly compile with 32 bit integers --- src/ring.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ring.h') diff --git a/src/ring.h b/src/ring.h index 4ca7a5d..ab92b25 100644 --- a/src/ring.h +++ b/src/ring.h @@ -185,12 +185,12 @@ public: } Buffer *find(const gchar *filename); - Buffer *find(gint64 id); + Buffer *find(tecoInt id); void dirtify(void); bool is_any_dirty(void); - bool edit(gint64 id); + bool edit(tecoInt id); void edit(const gchar *filename); inline void undo_edit(void) @@ -220,7 +220,7 @@ private: bool allowFilename; void do_edit(const gchar *filename) throw (Error); - void do_edit(gint64 id) throw (Error); + void do_edit(tecoInt id) throw (Error); void initial(void) throw (Error); State *done(const gchar *str) throw (Error); -- cgit v1.2.3