diff options
Diffstat (limited to 'src/goto.h')
-rw-r--r-- | src/goto.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -18,6 +18,8 @@ #ifndef __GOTO_H #define __GOTO_H +#include <string.h> + #include <glib.h> #include <glib/gprintf.h> @@ -51,6 +53,12 @@ class GotoTable : public RBTree { table->dump(); #endif } + + gsize + get_size(void) const + { + return sizeof(*this) + strlen(name) + 1; + } }; class Label : public RBTree::RBEntry { |