diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-07-12 22:18:46 +0000 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-07-12 22:18:46 +0000 |
commit | 265c50123eb9df0b6b9fbc3b605f493333b911c4 (patch) | |
tree | 1350ae870e3319c7e22b9d2600f70feae2d0247c /src/type.h | |
parent | e35037c40fd39967cc1f0fbe15a667c6f534a542 (diff) |
fix tests
Diffstat (limited to 'src/type.h')
-rw-r--r-- | src/type.h | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -2,6 +2,23 @@ * Uzbl Types */ -enum ptr_type {TYPE_INT = 1, TYPE_STR, TYPE_FLOAT, - TYPE_NAME, TYPE_FORMATTEDSTR // used by send_event +enum ptr_type { + TYPE_INT = 1, + TYPE_STR, + TYPE_FLOAT, + TYPE_NAME, + TYPE_FORMATTEDSTR // used by send_event }; + +typedef struct { + enum ptr_type type; + union { + int *i; + float *f; + gchar **s; + } ptr; + int dump; + int writeable; + /*@null@*/ void (*func)(void); +} uzbl_cmdprop; + |