From eff3f750142c1a010e230a09834829f83a878c19 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sat, 3 Oct 2009 16:08:33 +0200 Subject: [PATCH] text_object: introduce a generic payload pointer --- src/text_object.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text_object.h b/src/text_object.h index 2bc36696..9062d55b 100644 --- a/src/text_object.h +++ b/src/text_object.h @@ -442,6 +442,7 @@ struct text_object { struct text_object *next, *prev; /* doubly linked list of text objects */ struct text_object *sub; /* for objects parsing text into objects */ union { + void *opaque; /* new style generic per object data */ char *s; /* some string */ int i; /* some integer */ long l; /* some other integer */