Changeset cd5b58f for libcfa/src/bits


Ignore:
Timestamp:
Oct 31, 2022, 3:00:01 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
7f3b5ce
Parents:
637c139
Message:

Changed node link in thread to use dlink called cltr_link

File:
1 edited

Legend:

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

    r637c139 rcd5b58f  
    3131#define __cfa_anonymous_object(x) inline struct x
    3232#define __cfa_dlink1(x) dlink(x)
     33#define __cfa_dlink2(x, name) inline struct name { inline dlink(x); }
    3334#else
    3435#define __cfa_anonymous_object(x) struct x __cfa_anonymous_object
    3536#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
    3638#endif
    3739
Note: See TracChangeset for help on using the changeset viewer.