some updates from review

pull/2501/head
KristofferC 2 years ago committed by nick black
parent ac94303a1f
commit ff3b4b0a10

@ -1,7 +1,8 @@
// Cointains all inline functions in include/notcurses/*.h
// Contains all inline functions in include/notcurses/*.h
// This file is auto generated from tools/generate_ffi.py
#include <notcurses/notcurses.h>
#include <notcurses/direct.h>
#include <notcurses/nckeys.h>
bool nccapability_canchangecolor(const nccapabilities* caps);

Binary file not shown.

@ -17,7 +17,7 @@ def generate_ffi(notcurses_dir):
lines.sort()
with open(os.path.join(notcurses_dir, "src", "libffi", "ffi.c"), 'w') as f:
f.write("// Cointains all inline functions in include/notcurses/*.h\n")
f.write("// Contains all inline functions in include/notcurses/*.h\n")
f.write("// This file is auto generated from tools/generate_ffi.py\n")
f.write("#include <notcurses/notcurses.h>\n")
f.write("#include <notcurses/direct.h>\n\n")

@ -4,11 +4,11 @@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: @PROJECT_NAME@
Description: TUI library for modern terminal emulators (ffi support)
Description: TUI library for modern terminal emulators (ffi library)
Version: @PROJECT_VERSION@
Requires: notcurses-ffi
Requires.private:
Libs: -L${libdir} -lnotcurses-ffi
Libs.private: -lstdc++
Libs.private: -lunistring -lm
Cflags: -I${includedir}

@ -0,0 +1,2 @@
#include "../include/notcurses/notcurses.h"
int main() { return 0; }
Loading…
Cancel
Save