Move ringbuf into 3rdparty

This commit is contained in:
Kovid Goyal 2023-11-14 11:05:59 +05:30
parent ef7d92a117
commit 103f5f3956
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@
#include "lineops.h"
#include "charsets.h"
#include <structmember.h>
#include "ringbuf.h"
#include "../3rdparty/ringbuf/ringbuf.h"
extern PyTypeObject Line_Type;
#define SEGMENT_SIZE 2048

View File

@ -803,6 +803,8 @@ def find_c_files() -> Tuple[List[str], List[str]]:
headers.append(os.path.join('kitty', x))
ans.append('kitty/vt-parser-dump.c')
# ringbuf
ans.append('3rdparty/ringbuf/ringbuf.c')
# base64
ans.extend(glob.glob('3rdparty/base64/lib/arch/*/codec.c'))
ans.append('3rdparty/base64/lib/tables/tables.c')