summaryrefslogtreecommitdiff
path: root/legacy/eet/src/lib/Eet_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2009-12-07 12:53:29 +0000
committerCedric BAIL <cedric.bail@free.fr>2009-12-07 12:53:29 +0000
commit1a9212d3b0401aed3472832c74bc3ee3cebd58ac (patch)
treebe47b2e462c4aa207ce713993f3e684412f1d13b /legacy/eet/src/lib/Eet_private.h
parent5dd7275c9a6ce8e6ee10ba8e3866f956f04fdf20 (diff)
* eet: Reduce convertion to FP, float and double with a little overhead.
SVN revision: 44243
Diffstat (limited to 'legacy/eet/src/lib/Eet_private.h')
-rw-r--r--legacy/eet/src/lib/Eet_private.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/legacy/eet/src/lib/Eet_private.h b/legacy/eet/src/lib/Eet_private.h
index 9d0f2dcab8..fbbc6a4ebd 100644
--- a/legacy/eet/src/lib/Eet_private.h
+++ b/legacy/eet/src/lib/Eet_private.h
@@ -11,10 +11,10 @@ typedef enum _Eet_Convert_Type Eet_Convert_Type;
11 11
12enum _Eet_Convert_Type 12enum _Eet_Convert_Type
13{ 13{
14 EET_D_NOT_CONVERTED, 14 EET_D_NOT_CONVERTED = 0,
15 EET_D_FLOAT, 15 EET_D_FLOAT = 1 << 1,
16 EET_D_DOUBLE, 16 EET_D_DOUBLE = 1 << 2,
17 EET_D_FIXED_POINT 17 EET_D_FIXED_POINT = 1 << 4
18}; 18};
19 19
20typedef struct _Eet_String Eet_String; 20typedef struct _Eet_String Eet_String;
@@ -30,12 +30,9 @@ struct _Eet_String
30 int next; 30 int next;
31 int prev; 31 int prev;
32 32
33 union 33 float f;
34 { 34 double d;
35 float f; 35 Eina_F32p32 fp;
36 double d;
37 Eina_F32p32 fp;
38 } convert;
39 36
40 Eet_Convert_Type type; 37 Eet_Convert_Type type;
41}; 38};