Something went wrong. Try again.
This is my attempt at a basic rendering engine in C
Something went wrong. Try again.
1234567891011121314151617#include "general.h"#include "util.h"
struct LargeStruct { u32 a, b, c, d;};
int main(void) { int arr[10] = { 0 }; pmemexpand(arr, &(struct LargeStruct){1234, 4321, 1234, 1111}, sizeof(arr), sizeof(struct LargeStruct));
for (u32 i = 0; i < 10; i++){ printf("%i\n", arr[i]); } return 0;}