list-lang-prototype/List.c
List* List_new(unsigned char* bytes, size_t n)
{
    List* newlist = malloc(sizeof(List) + n);
    newlist->size = n;
    memcpy(newlist->data, bytes, n);
    return newlist;
}
// Creates a new list from some amount of bytes
Creates a new list from some amount of bytes
Creates a new list from some amount of bytes
List* List_new(unsigned char* bytes, size_t n)
{
    List* newlist = malloc(sizeof(List) + n);
    newlist->size = n;
    memcpy(newlist->data, bytes, n);
    return newlist;
}
List * List_new ( unsigned char * bytes , size_t n ) { List * newlist = malloc ( sizeof ( List ) + n ) ; newlist -> size = n ; memcpy ( newlist -> data , bytes , n ) ; return newlist ; }
Creates a new list from some amount of bytes
Creates a new list from some amount of bytes