diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/eina/src/include/eina_cpu.h | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/eina/src/include/eina_cpu.h')
-rw-r--r-- | libraries/eina/src/include/eina_cpu.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libraries/eina/src/include/eina_cpu.h b/libraries/eina/src/include/eina_cpu.h new file mode 100644 index 0000000..ac32e1d --- /dev/null +++ b/libraries/eina/src/include/eina_cpu.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* EINA - EFL data type library | ||
2 | * Copyright (C) 2007-2008 Jorge Luis Zapata Muga | ||
3 | * | ||
4 | * This library is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU Lesser General Public | ||
6 | * License as published by the Free Software Foundation; either | ||
7 | * version 2.1 of the License, or (at your option) any later version. | ||
8 | * | ||
9 | * This library is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
12 | * Lesser General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public | ||
15 | * License along with this library; | ||
16 | * if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifndef EINA_CPU_H_ | ||
20 | #define EINA_CPU_H_ | ||
21 | |||
22 | #include "eina_types.h" | ||
23 | |||
24 | typedef enum _Eina_Cpu_Features | ||
25 | { | ||
26 | EINA_CPU_MMX = 0x00000001, | ||
27 | EINA_CPU_SSE = 0x00000002, | ||
28 | EINA_CPU_SSE2 = 0x00000004, | ||
29 | EINA_CPU_SSE3 = 0x00000008, | ||
30 | /* TODO 3DNow! */ | ||
31 | EINA_CPU_ALTIVEC = 0x00000010, | ||
32 | EINA_CPU_VIS = 0x00000020, | ||
33 | EINA_CPU_NEON = 0x00000040, | ||
34 | } Eina_Cpu_Features; | ||
35 | |||
36 | EAPI Eina_Cpu_Features eina_cpu_features_get(void); | ||
37 | EAPI int eina_cpu_count(void); | ||
38 | |||
39 | #endif /* EINA_CPU_H_ */ | ||