From ef7c7b2f2125a7226fcf58beb76f9891ab9908fc Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Wed, 14 Oct 2009 07:16:34 -0600 Subject: fix tests, introduce command tests includes new tests for set, event/request, print, scroll_*, toggle_status, sync_sh and js --- uzbl-core.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'uzbl-core.h') diff --git a/uzbl-core.h b/uzbl-core.h index a7a8126..270b595 100644 --- a/uzbl-core.h +++ b/uzbl-core.h @@ -216,6 +216,19 @@ typedef struct { gchar* default_value; } XDG_Var; +/* uzbl variables */ +enum ptr_type {TYPE_INT, TYPE_STR, TYPE_FLOAT}; +typedef struct { + enum ptr_type type; + union { + int *i; + float *f; + gchar **s; + } ptr; + int dump; + int writeable; + /*@null@*/ void (*func)(void); +} uzbl_cmdprop; /* Functions */ char * -- cgit v1.2.3