Ignore:
Timestamp:
Nov 10, 2022, 12:14:23 PM (18 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
a757ba1
Parents:
5ce0659
Message:

Changed cltr_link to use explicit field name to make gdb easier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/defs.hfa

    r5ce0659 r6a4ef0c  
    3030#ifdef __cforall
    3131#define __cfa_anonymous_object(x) inline struct x
    32 #define __cfa_dlink1(x) dlink(x)
    33 #define __cfa_dlink2(x, name) inline struct name { inline dlink(x); }
     32#define __cfa_dlink(x) struct { inline dlink(x); }
    3433#else
    3534#define __cfa_anonymous_object(x) struct x __cfa_anonymous_object
    36 #define __cfa_dlink1(x) struct { struct x * next; struct x * back; }
    37 #define __cfa_dlink2(x, name) struct { struct x * next; struct x * back; } __dlink ## name
     35#define __cfa_dlink(x) struct { struct x * next; struct x * back; }
    3836#endif
    3937
Note: See TracChangeset for help on using the changeset viewer.