aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ring.h b/src/ring.h
index 5dc3a37..7aa4f27 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -187,6 +187,11 @@ public:
}
tecoInt get_id(Buffer *buffer);
+ inline tecoInt
+ get_id(void)
+ {
+ return get_id(current);
+ }
Buffer *find(const gchar *filename);
Buffer *find(tecoInt id);