src/common/xed-flags.c
/// test to see if a specific action is a write
test to see if a specific action is a write
test to see if a specific action is a write
xed_bool_t 
xed_flag_action_write_action( xed_flag_action_enum_t a)  {
    switch(a) {
      case XED_FLAG_ACTION_mod:
      case XED_FLAG_ACTION_0:
      case XED_FLAG_ACTION_1:    
      case XED_FLAG_ACTION_ah:
      case XED_FLAG_ACTION_pop:
      case XED_FLAG_ACTION_u:
        return 1;
      default:
        return 0;
    }
}
xed_bool_t xed_flag_action_write_action ( xed_flag_action_enum_t a ) { switch ( a ) { case XED_FLAG_ACTION_mod : case XED_FLAG_ACTION_0 : case XED_FLAG_ACTION_1 : case XED_FLAG_ACTION_ah : case XED_FLAG_ACTION_pop : case XED_FLAG_ACTION_u : return 1 ; default : return 0 ; } }
test to see if a specific action is a write
test to see if a specific action is a write