mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-10 13:04:03 +03:00
...
This commit is contained in:
parent
7c8c7fe3a2
commit
1d2a8288ee
@ -47,7 +47,7 @@ init_FG_BG_table(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject* create_256_color_table() {
|
PyObject* create_256_color_table(void) {
|
||||||
init_FG_BG_table();
|
init_FG_BG_table();
|
||||||
PyObject *ans = PyTuple_New(arraysz(FG_BG_256));
|
PyObject *ans = PyTuple_New(arraysz(FG_BG_256));
|
||||||
if (ans == NULL) return PyErr_NoMemory();
|
if (ans == NULL) return PyErr_NoMemory();
|
||||||
@ -83,7 +83,7 @@ dealloc_cp(ColorProfile* self) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ColorProfile*
|
ColorProfile*
|
||||||
alloc_color_profile() {
|
alloc_color_profile(void) {
|
||||||
return (ColorProfile*)new_cp(&ColorProfile_Type, NULL, NULL);
|
return (ColorProfile*)new_cp(&ColorProfile_Type, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user