You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2012/11/13 03:13:13 UTC

[lucy-commits] [9/16] git commit: refs/heads/master - Use globally scoped typedefs for emulated stdint types

Use globally scoped typedefs for emulated stdint types


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/9bbd07ec
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/9bbd07ec
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/9bbd07ec

Branch: refs/heads/master
Commit: 9bbd07ec3319b42fc3ee0c911765156c1f8a592e
Parents: 1c1963e
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sun Nov 4 13:44:33 2012 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Mon Nov 12 21:07:26 2012 +0100

----------------------------------------------------------------------
 charmonizer/src/Charmonizer/Probe/Integers.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/9bbd07ec/charmonizer/src/Charmonizer/Probe/Integers.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Probe/Integers.c b/charmonizer/src/Charmonizer/Probe/Integers.c
index 3c5cb55..f18e808 100644
--- a/charmonizer/src/Charmonizer/Probe/Integers.c
+++ b/charmonizer/src/Charmonizer/Probe/Integers.c
@@ -251,22 +251,22 @@ chaz_Integers_run(void) {
          *   uint64_t
          */
         if (has_8) {
-            chaz_ConfWriter_add_typedef("signed char", "int8_t");
-            chaz_ConfWriter_add_typedef("unsigned char", "uint8_t");
+            chaz_ConfWriter_add_global_typedef("signed char", "int8_t");
+            chaz_ConfWriter_add_global_typedef("unsigned char", "uint8_t");
         }
         if (has_16) {
-            chaz_ConfWriter_add_typedef("signed short", "int16_t");
-            chaz_ConfWriter_add_typedef("unsigned short", "uint16_t");
+            chaz_ConfWriter_add_global_typedef("signed short", "int16_t");
+            chaz_ConfWriter_add_global_typedef("unsigned short", "uint16_t");
         }
         if (has_32) {
-            chaz_ConfWriter_add_typedef(i32_t_type, "int32_t");
+            chaz_ConfWriter_add_global_typedef(i32_t_type, "int32_t");
             sprintf(scratch, "unsigned %s", i32_t_type);
-            chaz_ConfWriter_add_typedef(scratch, "uint32_t");
+            chaz_ConfWriter_add_global_typedef(scratch, "uint32_t");
         }
         if (has_64) {
-            chaz_ConfWriter_add_typedef(i64_t_type, "int64_t");
+            chaz_ConfWriter_add_global_typedef(i64_t_type, "int64_t");
             sprintf(scratch, "unsigned %s", i64_t_type);
-            chaz_ConfWriter_add_typedef(scratch, "uint64_t");
+            chaz_ConfWriter_add_global_typedef(scratch, "uint64_t");
         }
     }
     if (has_8) {