~ubuntu-branches/ubuntu/wily/parrot/wily-proposed

« back to all changes in this revision

Viewing changes to include/parrot/call.h

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont
  • Date: 2014-04-26 08:41:44 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20140426084144-ycocevtjth7nij5s
Tags: 6.3.0-1
ImportedĀ UpstreamĀ versionĀ 6.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
} callsignature_flags_enum;
41
41
 
42
42
#define CALLSIGNATURE_get_FLAGS(o) (PObj_get_FLAGS(o))
43
 
#define CALLSIGNATURE_flag_TEST(flag, o) (CALLSIGNATURE_get_FLAGS(o) & CALLSIGNATURE_ ## flag ## _FLAG)
44
 
#define CALLSIGNATURE_flag_SET(flag, o) (CALLSIGNATURE_get_FLAGS(o) |= CALLSIGNATURE_ ## flag ## _FLAG)
45
 
#define CALLSIGNATURE_flag_CLEAR(flag, o) (CALLSIGNATURE_get_FLAGS(o) &= ~(UINTVAL)(CALLSIGNATURE_ ## flag ## _FLAG))
 
43
#define CALLSIGNATURE_flag_TEST(flag, o) \
 
44
    (CALLSIGNATURE_get_FLAGS(o) & CALLSIGNATURE_ ## flag ## _FLAG)
 
45
#define CALLSIGNATURE_flag_SET(flag, o) \
 
46
    (CALLSIGNATURE_get_FLAGS(o) |= CALLSIGNATURE_ ## flag ## _FLAG)
 
47
#define CALLSIGNATURE_flag_CLEAR(flag, o) \
 
48
    (CALLSIGNATURE_get_FLAGS(o) &= ~(UINTVAL)(CALLSIGNATURE_ ## flag ## _FLAG))
46
49
 
47
50
/* Mark if the CallSignature is for an exception handler */
48
51
#define CALLSIGNATURE_is_exception_TEST(o)  CALLSIGNATURE_flag_TEST(is_exception, (o))