RE: [AD] CPU info changes |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> int num_cpu_capabilities; /* global var. number of items in array. */
> CPU_CAPABILITIES *cpu_capabilities; /* pointer to array
> perferably also
> terminated by { NULL, NULL }entry. */
Wouldn't you rather use routines ?
int get_cpu_count();
CPU_CAPABILITIES *get_cpu_capabilities(int);
I'm just getting fed up of seeing that many global vars there :)
And besides, I think it helps windows DLLs.
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |