Changeset 279:844eb81f5228 in verona for phapi/phapi.h


Ignore:
Timestamp:
Aug 31, 2011 4:48:32 PM (22 months ago)
Author:
Vadim Lebedev <vadim@…>
Branch:
default
Message:

Fix handling of mobility flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phapi/phapi.h

    r261 r279  
    196196  PH_LINE_MOBILITY_FIXED, 
    197197  PH_LINE_MOBILITY_MOBILE, 
    198   PH_LINE_MOBILITY_PHONE 
    199 }; 
    200  
     198  PH_LINE_MOBILITY_PHONE, 
     199  PH_LINE_MOBILITY_MASK = 255 
     200}; 
     201#define checkmobility(m, v) ((((m) & PH_LINE_MOBILITY_MASK) == (v))) 
    201202 
    202203#ifndef SWIG 
Note: See TracChangeset for help on using the changeset viewer.