Skip to content

Commit

Permalink
FEAT: adding VAL_UNI_TAIL macro for getting tail of unicode encoded s…
Browse files Browse the repository at this point in the history
…eries
  • Loading branch information
Oldes committed Jun 6, 2019
1 parent 6370271 commit c57b31e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/sys-value.h
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ typedef struct Reb_Series_Ref
// Arg is a unicode value:
#define VAL_UNI(v) UNI_HEAD(VAL_SERIES(v))
#define VAL_UNI_HEAD(v) UNI_HEAD(VAL_SERIES(v))
#define VAL_UNI_TAIL(v) UNI_SKIP(VAL_SERIES(v), VAL_SERIES(v)->tail)
#define VAL_UNI_DATA(v) UNI_SKIP(VAL_SERIES(v), VAL_INDEX(v))

// Get a char, from either byte or unicode string:
Expand Down

0 comments on commit c57b31e

Please sign in to comment.