mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 14:07:34 +02:00
Cast to pointer type
This commit is contained in:
parent
4ce81afdc4
commit
069305ebdf
1 changed files with 2 additions and 2 deletions
|
@ -1154,8 +1154,8 @@ typedef struct { pair_type a; pair_type b; pair_type c;} list_3_type;
|
||||||
typedef struct { pair_type a; pair_type b; pair_type c; pair_type d;} list_4_type;
|
typedef struct { pair_type a; pair_type b; pair_type c; pair_type d;} list_4_type;
|
||||||
|
|
||||||
#define set_list_2_as_expr(l, a1, a2) \
|
#define set_list_2_as_expr(l, a1, a2) \
|
||||||
(set_pair_as_expr(((list_2_type)(l))->b, a2, NULL), \
|
(set_pair_as_expr(((list_2_type *)(l))->b, a2, NULL), \
|
||||||
set_pair_as_expr(((list_2_type)(l))->a, a1, &((list_2_type)(l)->b)))
|
set_pair_as_expr(((list_2_type *)(l))->a, a1, &((list_2_type)(l)->b)))
|
||||||
|
|
||||||
// DEPRECATED
|
// DEPRECATED
|
||||||
#define make_list_1(l, a1) \
|
#define make_list_1(l, a1) \
|
||||||
|
|
Loading…
Add table
Reference in a new issue