diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-12-20 16:24:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-12-20 16:24:29 +0000 |
commit | 5427a199aac32acf3c99f4381c694db5ab88e9f2 (patch) | |
tree | 0b19c24aa9850c2a00730753dba4e0c023c75f39 /hid.c | |
parent | 7bf961d712aa0c6881605e62ed8097702bce5049 (diff) |
fixed sloppy global variable declarations so that things compile properly with full compiler optimizations
svn path=/trunk/externals/hcs/hid/; revision=7038
Diffstat (limited to 'hid.c')
-rw-r--r-- | hid.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -54,6 +54,21 @@ static void hid_open(t_hid *x, t_symbol *s, int argc, t_atom *argv); /*------------------------------------------------------------------------------ + * GLOBAL VARIABLES DECLARED extern IN hid.h + */ +t_int hid_instance_count; +unsigned short device_count; + +/* this is used to test for the first instance to execute */ +double last_execute_time[MAX_DEVICES]; + +/* store element structs to eliminate symbol table lookups, etc. */ +t_hid_element *element[MAX_DEVICES][MAX_ELEMENTS]; +/* number of active elements per device */ +unsigned short element_count[MAX_DEVICES]; + + +/*------------------------------------------------------------------------------ * SUPPORT FUNCTIONS */ |