Skip to content

Commit

Permalink
fix ArrayFree.lf
Browse files Browse the repository at this point in the history
  • Loading branch information
Depetrol committed Oct 18, 2024
1 parent a201f81 commit 024092d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/api/reaction_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
do { \
lf_set_present(out); \
lf_token_t* token = _lf_initialize_token_with_value((token_template_t*)out, val, len); \
out->token = token; \
out->value = token->value; \
out->length = len; \
} while (0)
Expand All @@ -106,6 +107,7 @@
do { \
lf_set_present(out); \
lf_token_t* token = _lf_initialize_token_with_value((token_template_t*)out, val, len); \
out->token = token; \
out->value = static_cast<decltype(out->value)>(token->value); \
out->length = len; \
} while (0)
Expand Down

0 comments on commit 024092d

Please sign in to comment.