first commit

This commit is contained in:
Lorenzo Torres 2025-09-04 19:56:16 +02:00
commit 66d7627b44
8 changed files with 163 additions and 0 deletions

29
se.c Normal file
View file

@ -0,0 +1,29 @@
#include <se.h>
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
struct pt_piece {
size_t start, length;
struct pt_piece *next;
struct pt_piece *prev;
uint8_t original;
};
struct pt_piece *pt_create_piece(size_t start, size_t length, uint8_t original)
{
struct pt_piece *piece = (struct pt_piece *) malloc(sizeof(struct pt_piece));
piece->start = start;
piece->length = length;
piece->next = NULL;
piece->prev = NULL;
piece->original = original;
}
int main(void)
{
printf("Hello world!\n");
return 0;
}