projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3430dc
)
text_object: introduce a generic payload pointer
author
Phil Sutter
<phil@nwl.cc>
Sat, 3 Oct 2009 14:08:33 +0000
(16:08 +0200)
committer
Phil Sutter
<phil@nwl.cc>
Tue, 3 Nov 2009 22:23:22 +0000
(23:23 +0100)
src/text_object.h
patch
|
blob
|
history
diff --git
a/src/text_object.h
b/src/text_object.h
index
2bc3669
..
9062d55
100644
(file)
--- 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 */