aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
commit99f6da572f455b0ba17c341ec1a63c5826de3ecf (patch)
treeb4e18e283b840127c21597a857be49403b2bb06b /src/ring.h
parent5d5182158a982057a9fe4c7b3f3ac81e1536f1ff (diff)
downloadsciteco-99f6da572f455b0ba17c341ec1a63c5826de3ecf.tar.gz
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
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h6
1 files changed, 3 insertions, 3 deletions
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);