const char *cputype_get_info_string(int cputype, UINT32 state) { cpuinfo info; VERIFY_CPUTYPE(cputype_get_info_string); info.s = cpuintrf_temp_str(); (*cpuintrf[cputype].get_info)(state, &info); return info.s; }
genf *cputype_get_info_fct(int cputype, UINT32 state) { cpuinfo info; VERIFY_CPUTYPE(cputype_get_info_fct); info.f = NULL; (*cpuintrf[cputype].get_info)(state, &info); return info.f; }
INT64 cputype_get_info_int(int cputype, UINT32 state) { cpuinfo info; VERIFY_CPUTYPE(cputype_get_info_int); info.i = 0; (*cpuintrf[cputype].get_info)(state, &info); return info.i; }
void *cputype_get_info_ptr(int cputype, UINT32 state) { cpuinfo info; VERIFY_CPUTYPE(cputype_get_info_ptr); info.p = NULL; (*cpuintrf[cputype].get_info)(state, &info); return info.p; }
const char *cputype_get_info_string(int cputype, UINT32 state) { union cpuinfo info; VERIFY_CPUTYPE(cputype_get_info_string); info.s = NULL; (*cpuintrf[cputype].get_info)(state, &info); return info.s; }