[svn:parrot] r40570 - in branches/pmc_sans_unionval: include/parrot src/ops
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Sat Aug 15 14:30:01 UTC 2009
Author: whiteknight
Date: Sat Aug 15 14:30:01 2009
New Revision: 40570
URL: https://trac.parrot.org/parrot/changeset/40570
Log:
[pmc_sans_unionval] remove some trailing whitespace
Modified:
branches/pmc_sans_unionval/include/parrot/hash.h
branches/pmc_sans_unionval/include/parrot/pobj.h
branches/pmc_sans_unionval/src/ops/set.ops
Modified: branches/pmc_sans_unionval/include/parrot/hash.h
==============================================================================
--- branches/pmc_sans_unionval/include/parrot/hash.h Sat Aug 15 14:24:25 2009 (r40569)
+++ branches/pmc_sans_unionval/include/parrot/hash.h Sat Aug 15 14:30:01 2009 (r40570)
@@ -28,7 +28,7 @@
/*
* hash_entry is currently unused in the hash structure
-
+
typedef struct _hash_entry {
HashEntryType type;
UnionVal val;
@@ -43,7 +43,7 @@
#define HASH_ALLOC_SIZE(n) (N_BUCKETS(n) * sizeof (HashBucket) + \
(n) * sizeof (HashBucket *))
-typedef int (*hash_comp_fn)(PARROT_INTERP, const void*const, const void*const);
+typedef int (*hash_comp_fn)(PARROT_INTERP, const void *const, const void *const);
typedef void (*hash_mark_key_fn)(PARROT_INTERP, PObj *);
typedef size_t (*hash_hash_key_fn)(PARROT_INTERP, ARGIN(const void *), size_t seed);
Modified: branches/pmc_sans_unionval/include/parrot/pobj.h
==============================================================================
--- branches/pmc_sans_unionval/include/parrot/pobj.h Sat Aug 15 14:24:25 2009 (r40569)
+++ branches/pmc_sans_unionval/include/parrot/pobj.h Sat Aug 15 14:30:01 2009 (r40570)
@@ -23,7 +23,7 @@
typedef struct buffer_t {
Parrot_UInt flags;
void * _bufstart;
- size_t _buflen;
+ size_t _buflen;
} Buffer;
#define Buffer_bufstart(buffer) (buffer)->_bufstart
@@ -84,7 +84,6 @@
Parrot_UInt flags;
void * _bufstart;
size_t _buflen;
-
char *strstart;
UINTVAL bufused;
UINTVAL strlen;
Modified: branches/pmc_sans_unionval/src/ops/set.ops
==============================================================================
--- branches/pmc_sans_unionval/src/ops/set.ops Sat Aug 15 14:24:25 2009 (r40569)
+++ branches/pmc_sans_unionval/src/ops/set.ops Sat Aug 15 14:30:01 2009 (r40570)
@@ -509,11 +509,10 @@
/* don't let the clone's destruction destroy the destination's data */
PObj_active_destroy_CLEAR(clone);
- if (PObj_is_PMC_EXT_TEST(clone))
- {
- PMC_metadata(clone) = NULL;
- PMC_next_for_GC(clone) = NULL;
- PMC_sync(clone) = NULL;
+ if (PObj_is_PMC_EXT_TEST(clone)) {
+ PMC_metadata(clone) = NULL;
+ PMC_next_for_GC(clone) = NULL;
+ PMC_sync(clone) = NULL;
}
/* Restore metadata. */
More information about the parrot-commits
mailing list