Skip to content

Instantly share code, notes, and snippets.

@od0x0
Created October 25, 2010 01:24
Show Gist options
  • Save od0x0/644246 to your computer and use it in GitHub Desktop.
Save od0x0/644246 to your computer and use it in GitHub Desktop.
AEArray(int) ints;
AEArrayInit(&ints);
AEArrayAdd(&ints, 1);
AEArrayAdd(&ints, 2);
AEArrayAdd(&ints, 3);
for(size_t i=0; i<AEArrayLength(&ints); i++)
printf("At Index %lu, we have %i\n", (unsigned long)i, AEArrayAsCArray(&ints)[i]);
AEArrayDeinit(&ints);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment