Skip to content

Commit

Permalink
reset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstiDE committed Feb 1, 2025
1 parent 675dad8 commit ff17359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tinyexpr.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ typedef struct state {
#define IS_FUNCTION(TYPE) (((TYPE) & TE_FUNCTION0) != 0)
#define IS_CLOSURE(TYPE) (((TYPE) & TE_CLOSURE0) != 0)
#define ARITY(TYPE) ( ((TYPE) & (TE_FUNCTION0 | TE_CLOSURE0)) ? ((TYPE) & 0x00000007) : 0 )
#define NEW_EXPR(type, ...) new_expr((type), (const te_expr*[]){ __VA_ARGS__ }, ##__VA_ARGS__)
#define NEW_EXPR(type, ...) new_expr((type), (const te_expr*[]){ __VA_ARGS__ })
#define CHECK_NULL(ptr, ...) if ((ptr) == NULL) { __VA_ARGS__; return NULL; }

static te_expr *new_expr(const int type, const te_expr *parameters[]) {
Expand Down

0 comments on commit ff17359

Please sign in to comment.