Skip to content

Commit

Permalink
Merge pull request #13 from HexDecimal/remove-array-def
Browse files Browse the repository at this point in the history
Remove array redefinition
  • Loading branch information
rmtew authored Aug 19, 2024
2 parents 9b3e028 + 1146155 commit 4b2e2f7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions inc/Incursion.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ long array_index(long x,long y);
#define realloc _realloc
#define calloc(a,b) _malloc((a)*(b))
#define I(x,y) array_index(x,y)
#define array(a,i,s) array_access((void*)a,sizeof(a[0]),i,s)

#else

#define I(x,y) x
#define array(array,index,size) array[index]

#endif

Expand Down

0 comments on commit 4b2e2f7

Please sign in to comment.