mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-08 23:59:02 -05:00
some updates from review
This commit is contained in:
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);
|
||||
|
BIN
tools/a.out
Executable file
BIN
tools/a.out
Executable file
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}
|
||||
|
2
tools/tmp.cc
Normal file
2
tools/tmp.cc
Normal file
@ -0,0 +1,2 @@
|
||||
#include "../include/notcurses/notcurses.h"
|
||||
int main() { return 0; }
|
Loading…
x
Reference in New Issue
Block a user