Skip to content

Commit

Permalink
types: remove old ARRAY_SIZE macro (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Dec 28, 2023
1 parent a7defd9 commit c64974a
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 c64974a

Please sign in to comment.