meta: rename to fx
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
#include <blue/core/bstr.h>
|
||||
#include <blue/core/stream.h>
|
||||
#include <fx/core/bstr.h>
|
||||
#include <fx/core/stream.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
b_stream_read_line_s(b_stdin, b_stdout);
|
||||
b_stream_write_char(b_stdout, '\n');
|
||||
fx_stream_read_line_s(fx_stdin, fx_stdout);
|
||||
fx_stream_write_char(fx_stdout, '\n');
|
||||
|
||||
char s[16];
|
||||
b_bstr str;
|
||||
b_bstr_begin(&str, s, sizeof s);
|
||||
fx_bstr str;
|
||||
fx_bstr_begin(&str, s, sizeof s);
|
||||
|
||||
b_stream_read_line_s(b_stdin, (b_stream *)&str);
|
||||
b_stream_write_char((b_stream *)&str, '\n');
|
||||
fx_stream_read_line_s(fx_stdin, (fx_stream *)&str);
|
||||
fx_stream_write_char((fx_stream *)&str, '\n');
|
||||
|
||||
const char *e = b_bstr_end(&str);
|
||||
const char *e = fx_bstr_end(&str);
|
||||
fputs(e, stdout);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user