git / brickware / marrow.git - main

(45 minutes ago)commit 7790c99: Meh. Halfway vector implementation. Not happy with the name

tree / lpush.c

lpush.c

raw

/***
 * lpush.c
 */

#include <stdint.h>
#include <stdlib.h>

#include "./allocator.h"
#include "./vector.h"


int32_t
lpush(void *dest, const size_t length, const size_t num, const size_t size, const void *item)
{
    return (linsert(dest, length, num, size, num, item));
}