Changeset 1452 in svn for trunk/processor/head.m4


Ignore:
Timestamp:
2013-11-08T08:21:40+01:00 (20 months ago)
Author:
Xuefer
Message:

improve readability using ptradd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r1446 r1452  
    8181
    8282#define MAX_DUP_STR_LEN 256
     83
     84#define ptradd(type, ptr, ptrdiff) ((type) (((char *) (ptr)) + (ptrdiff)))
     85#define ptrsub(ptr1, ptr2) (((char *) (ptr1)) - ((char *) (ptr2)))
    8386dnl }}}
    8487dnl {{{ _xc_processor_t
Note: See TracChangeset for help on using the changeset viewer.