git / brickware / marrow.git - main

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

tree / linsert.c

linsert.c

raw

/***
 * linsert.c
 */

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

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

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