[svn:parrot] r39880 - in trunk: config/gen/config_h lib/Parrot
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Sat Jul 4 16:43:44 UTC 2009
Author: fperrad
Date: Sat Jul 4 16:43:43 2009
New Revision: 39880
URL: https://trac.parrot.org/parrot/changeset/39880
Log:
[codingstd] put config_h.in under control
Modified:
trunk/config/gen/config_h/config_h.in
trunk/lib/Parrot/Distribution.pm
Modified: trunk/config/gen/config_h/config_h.in
==============================================================================
--- trunk/config/gen/config_h/config_h.in Sat Jul 4 15:05:23 2009 (r39879)
+++ trunk/config/gen/config_h/config_h.in Sat Jul 4 16:43:43 2009 (r39880)
@@ -1,5 +1,6 @@
-/* Copyright (C) 2001-2007, Parrot Foundation. */
-/* $Id$ */
+/* Copyright (C) 2001-2009, Parrot Foundation.
+ * $Id$
+ */
/* config.h
*
@@ -45,17 +46,17 @@
#include "parrot/platform_limits.h"
#ifndef PARROT_INTVAL_MIN
-#define PARROT_INTVAL_MIN @intvalmin@
+# define PARROT_INTVAL_MIN @intvalmin@
#endif
#ifndef PARROT_INTVAL_MAX
-#define PARROT_INTVAL_MAX @intvalmax@
+# define PARROT_INTVAL_MAX @intvalmax@
#endif
#ifndef PARROT_FLOATVAL_MIN
-#define PARROT_FLOATVAL_MIN @floatvalmin@
+# define PARROT_FLOATVAL_MIN @floatvalmin@
#endif
#ifndef PARROT_FLOATVAL_MAX
-#define PARROT_FLOATVAL_MAX @floatvalmax@
+# define PARROT_FLOATVAL_MAX @floatvalmax@
#endif
/* Temporary until we find a way to make it work in the right place. */
@@ -65,21 +66,21 @@
* PARROT_IN_CORE won't always imply !PARROT_IN_EXTENSION. */
#if defined(PARROT_IN_EXTENSION)
#if defined(__cplusplus)
-#define PARROT_EXPORT extern "C" @sym_import@
-#define PARROT_DATA extern "C" @sym_import@
-#define PARROT_DYNEXT_EXPORT extern "C" @sym_export@
+# define PARROT_EXPORT extern "C" @sym_import@
+# define PARROT_DATA extern "C" @sym_import@
+# define PARROT_DYNEXT_EXPORT extern "C" @sym_export@
#else
-#define PARROT_EXPORT @sym_import@
-#define PARROT_DATA extern @sym_import@
-#define PARROT_DYNEXT_EXPORT @sym_export@
+# define PARROT_EXPORT @sym_import@
+# define PARROT_DATA extern @sym_import@
+# define PARROT_DYNEXT_EXPORT @sym_export@
#endif
#else
#if defined(__cplusplus)
-#define PARROT_EXPORT extern "C" @sym_export@
-#define PARROT_DATA extern "C" @sym_export@
+# define PARROT_EXPORT extern "C" @sym_export@
+# define PARROT_DATA extern "C" @sym_export@
#else
-#define PARROT_EXPORT @sym_export@
-#define PARROT_DATA extern @sym_export@
+# define PARROT_EXPORT @sym_export@
+# define PARROT_DATA extern @sym_export@
#endif
#endif
@@ -118,19 +119,19 @@
/* We don't have a portable config for 64-bit
* registers yet. */
#if 0
-# if INTVAL_SIZE >= 8
+# if INTVAL_SIZE >= 8
typedef Parrot_Int INTVAL64;
typedef Parrot_Int Parrot_Int64;
-# else
-# if HUGEINTVAL_SIZE >= 8
+# else
+# if HUGEINTVAL_SIZE >= 8
typedef HUGEINTVAL INTVAL64;
typedef HUGEINTVAL Parrot_Int64;
-# else
+# else
/* No 64-bit type available? */
typedef union { unsigned char b[8]; } INTVAL64;
typedef INTVAL64 Parrot_Int64;
+# endif
# endif
-# endif
#endif
Modified: trunk/lib/Parrot/Distribution.pm
==============================================================================
--- trunk/lib/Parrot/Distribution.pm Sat Jul 4 15:05:23 2009 (r39879)
+++ trunk/lib/Parrot/Distribution.pm Sat Jul 4 16:43:43 2009 (r39880)
@@ -404,7 +404,6 @@
config/auto/cpu/i386/memcpy_mmx_in.c
config/auto/cpu/i386/memcpy_sse.c
config/auto/cpu/i386/memcpy_sse_in.c
- config/gen/config_h/config_h.in
config/gen/config_h/feature_h.in
compilers/imcc/imclexer.c
compilers/imcc/imcparser.c
@@ -431,6 +430,7 @@
compilers/pirc/macro/macrolexer.h
compilers/pirc/macro/macroparser.c
compilers/pirc/macro/macroparser.h
+ include/parrot/config.h
src/gc/malloc.c
} unless @exemptions;
More information about the parrot-commits
mailing list