Skip to content

Commit cb47904

Browse files
klist util
1 parent 2eb9f9f commit cb47904

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/util/list.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//
2+
// Created by AIDAN on 5/27/2025.
3+
//
4+
5+
#include "list.h"
6+

src/util/list.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// Created by AIDAN on 5/27/2025.
3+
//
4+
5+
#ifndef KITTY_LIST_H
6+
#define KITTY_LIST_H
7+
8+
#include "stdint.h"
9+
10+
struct klist {
11+
uint64_t length;
12+
uint64_t size;
13+
void* pointer;
14+
};
15+
16+
#endif //KITTY_LIST_H

0 commit comments

Comments
 (0)