Branch
Hash :
839078f3
Author :
Thomas de Grivel
Date :
2023-01-17T10:51:23
rtbuf_gtk3 test/sinus
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
/* rtbuf
* Copyright 2018-2023 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software excepted
* on Apple computers granted the above copyright notice and
* this permission paragraph are included in all copies and
* substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#include <assert.h>
#include <stdio.h>
#include "../librtbuf/rtbuf.h"
#include "rtbuf_cli.h"
void rtbuf_cli_new_cb (s_rtbuf *rtb);
int main (int argc, char *argv[])
{
int res = 0;
symbols_init();
librtbuf_init();
g_rtbuf_new_cb = rtbuf_cli_new_cb;
assert(g_rtbuf);
repl_init();
rtbuf_cli_args(argc, argv);
res = repl();
rtbuf_cli_stop();
librtbuf_shutdown();
return res;
}
void rtbuf_cli_new_cb (s_rtbuf *rtbuf)
{
rtbuf_print(rtbuf);
}