mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-18 20:28:01 +00:00
Replace generated arrays with macro declarations, align cache lines to 64 bytes
This commit is contained in:
parent
951d785deb
commit
c7b8ff15ec
@ -1,6 +1,6 @@
|
||||
CLAY__TYPEDEF($NAME$, struct
|
||||
typedef struct
|
||||
{
|
||||
int32_t capacity;
|
||||
int32_t length;
|
||||
$TYPE$ *internalArray;
|
||||
});
|
||||
} $NAME$;
|
@ -1,5 +1,5 @@
|
||||
CLAY__TYPEDEF($NAME$Slice, struct
|
||||
typedef struct
|
||||
{
|
||||
int32_t length;
|
||||
$TYPE$ *internalArray;
|
||||
});
|
||||
} $NAME$Slice;
|
Loading…
Reference in New Issue
Block a user