Move ringbuf into 3rdparty
This commit is contained in:
parent
ef7d92a117
commit
103f5f3956
4 changed files with 3 additions and 1 deletions
0
kitty/ringbuf.c → 3rdparty/ringbuf/ringbuf.c
vendored
0
kitty/ringbuf.c → 3rdparty/ringbuf/ringbuf.c
vendored
0
kitty/ringbuf.h → 3rdparty/ringbuf/ringbuf.h
vendored
0
kitty/ringbuf.h → 3rdparty/ringbuf/ringbuf.h
vendored
|
|
@ -9,7 +9,7 @@
|
||||||
#include "lineops.h"
|
#include "lineops.h"
|
||||||
#include "charsets.h"
|
#include "charsets.h"
|
||||||
#include <structmember.h>
|
#include <structmember.h>
|
||||||
#include "ringbuf.h"
|
#include "../3rdparty/ringbuf/ringbuf.h"
|
||||||
|
|
||||||
extern PyTypeObject Line_Type;
|
extern PyTypeObject Line_Type;
|
||||||
#define SEGMENT_SIZE 2048
|
#define SEGMENT_SIZE 2048
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -803,6 +803,8 @@ def find_c_files() -> Tuple[List[str], List[str]]:
|
||||||
headers.append(os.path.join('kitty', x))
|
headers.append(os.path.join('kitty', x))
|
||||||
ans.append('kitty/vt-parser-dump.c')
|
ans.append('kitty/vt-parser-dump.c')
|
||||||
|
|
||||||
|
# ringbuf
|
||||||
|
ans.append('3rdparty/ringbuf/ringbuf.c')
|
||||||
# base64
|
# base64
|
||||||
ans.extend(glob.glob('3rdparty/base64/lib/arch/*/codec.c'))
|
ans.extend(glob.glob('3rdparty/base64/lib/arch/*/codec.c'))
|
||||||
ans.append('3rdparty/base64/lib/tables/tables.c')
|
ans.append('3rdparty/base64/lib/tables/tables.c')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue