Skip to content

Commit dcdb671

Browse files
committed
FIX: correct tuple length struct name
related to: Oldes/Rebol-issues#2462
1 parent 015441e commit dcdb671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/reb-ext.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef union rxi_arg_val {
7979
} handle;
8080
struct {
8181
// keeping the same layout how it was before (first byte is size)
82-
// there could probably be a more optimal way how to pass colors!
82+
// There could be a more optimal way how to pass colors!
8383
REBYTE tuple_len;
8484
REBYTE tuple_bytes[MAX_TUPLE];
8585
};
@@ -120,7 +120,7 @@ typedef int (*RXICAL)(int cmd, RXIFRM *args, REBCEC *ctx);
120120
#define RXA_WORD(f,n) (RXA_ARG(f,n).int32a)
121121
#define RXA_PAIR(f,n) (RXA_ARG(f,n).pair)
122122
#define RXA_TUPLE(f,n) (RXA_ARG(f,n).tuple_bytes)
123-
#define RXA_TUPLE_SIZE(f,n) (RXA_ARG(f,n).tuple_size)
123+
#define RXA_TUPLE_LEN(f,n) (RXA_ARG(f,n).tuple_len)
124124
#define RXA_SERIES(f,n) (RXA_ARG(f,n).series)
125125
#define RXA_INDEX(f,n) (RXA_ARG(f,n).index)
126126
#define RXA_OBJECT(f,n) (RXA_ARG(f,n).addr)

0 commit comments

Comments
 (0)