Skip to content

Commit

Permalink
types: remove old ARRAY_SIZE macro
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Dec 28, 2023
1 parent a7defd9 commit ef58e1d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/re_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ typedef SSIZE_T ssize_t;
/** Get number of elements in an array */
#define RE_ARRAY_SIZE(a) ((sizeof(a))/(sizeof((a)[0])))

/* Backwards compat */
#define ARRAY_SIZE RE_ARRAY_SIZE


/** Align a value to the boundary of mask */
#define RE_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))
Expand Down

0 comments on commit ef58e1d

Please sign in to comment.