commit
c99741d870
13 changed files with 74 additions and 79 deletions
@ -1,17 +0,0 @@ |
||||
name: build-mac |
||||
on: [push, pull_request] |
||||
jobs: |
||||
build: |
||||
runs-on: macos-latest |
||||
steps: |
||||
- uses: actions/checkout@v1 |
||||
- name: Install dependencies |
||||
run: | |
||||
brew install fftw ncurses libtool automake portaudio iniparser |
||||
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize |
||||
- name: Generate configure |
||||
run: ./autogen.sh |
||||
- name: Run ./configure |
||||
run: LDFLAGS="-L/usr/local/opt/ncurses/lib" CPPFLAGS="-I/usr/local/opt/ncurses/include" ./configure |
||||
- name: Run make |
||||
run: make |
||||
@ -1,5 +1,6 @@ |
||||
#include <stdarg.h> |
||||
#include <stdio.h> |
||||
#include <stdbool.h> |
||||
#include <stdio.h> |
||||
|
||||
bool load_config(char configPath[255], char supportedInput[255], void* p, bool colorsOnly, void* error); |
||||
bool load_config(char configPath[255], char supportedInput[255], void *p, bool colorsOnly, |
||||
void *error); |
||||
|
||||
@ -1,7 +1,9 @@ |
||||
#include <stdio.h> |
||||
|
||||
#ifdef NDEBUG |
||||
#define debug(...) do { } while (0) |
||||
#define debug(...) \ |
||||
do { \
|
||||
} while (0) |
||||
#else |
||||
#define debug(...) fprintf(stderr, __VA_ARGS__) |
||||
#endif |
||||
|
||||
@ -1,2 +1,2 @@ |
||||
int print_raw_out(int bars_count, int fd, int is_binary, int bit_format, |
||||
int ascii_range, char bar_delim, char frame_delim, int const f[200]); |
||||
int print_raw_out(int bars_count, int fd, int is_binary, int bit_format, int ascii_range, |
||||
char bar_delim, char frame_delim, int const f[200]); |
||||
|
||||
@ -1,8 +1,8 @@ |
||||
void init_terminal_ncurses(char* const fg_color_string, |
||||
char* const bg_color_string, int predef_fg_color, int predef_bg_color, int gradient, |
||||
void init_terminal_ncurses(char *const fg_color_string, char *const bg_color_string, |
||||
int predef_fg_color, int predef_bg_color, int gradient, |
||||
int gradient_count, char **gradient_colors, int *width, int *height); |
||||
void get_terminal_dim_ncurses(int *width, int *height); |
||||
int draw_terminal_ncurses(int is_tty, int terminal_height, int terminal_width, |
||||
int bars_count, int bar_width, int bar_spacing, int rest, const int f[200], |
||||
int draw_terminal_ncurses(int is_tty, int terminal_height, int terminal_width, int bars_count, |
||||
int bar_width, int bar_spacing, int rest, const int f[200], |
||||
int flastd[200], int gradient); |
||||
void cleanup_terminal_ncurses(void); |
||||
|
||||
@ -1,4 +1,5 @@ |
||||
int init_terminal_noncurses(int col, int bgcol, int w, int h, int bw); |
||||
void get_terminal_dim_noncurses(int *w, int *h); |
||||
int draw_terminal_noncurses(int virt, int height, int width, int bars, int bw, int bs, int rest, int f[200], int flastd[200]); |
||||
int draw_terminal_noncurses(int virt, int height, int width, int bars, int bw, int bs, int rest, |
||||
int f[200], int flastd[200]); |
||||
void cleanup_terminal_noncurses(void); |
||||
|
||||
Loading…
Reference in new issue