Skip to content

Commit

Permalink
[pmc_sans_unionval] fix up some macro definitions
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/pmc_sans_unionval@40566 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
whiteknight committed Aug 15, 2009
1 parent 9d1446b commit 75f9435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/parrot/pobj.h
Expand Up @@ -134,9 +134,9 @@ struct PMC {
/* do not allow PMC_data2 as lvalue */
#define PMC_data0(pmc) (1 ? (pmc)->data : 0)
#define PMC_data0_typed(pmc) (type)(1 ? (pmc)->data : 0)
#define PMC_metadata(pmc) pmc->_metadata
#define PMC_next_for_GC(pmc) pmc->_next_for_GC
#define PMC_sync(pmc) pmc->_synchronize
#define PMC_metadata(pmc) ((pmc)->_metadata)
#define PMC_next_for_GC(pmc) ((pmc)->_next_for_GC)
#define PMC_sync(pmc) ((pmc)->_synchronize)

#define POBJ_FLAG(n) ((UINTVAL)1 << (n))
/* PObj flags */
Expand Down

0 comments on commit 75f9435

Please sign in to comment.