fx.term: convert to new assembly build system

This commit is contained in:
2026-05-03 16:49:23 +01:00
parent 0c53974ac9
commit 44fed67d43
11 changed files with 254 additions and 116 deletions
+9 -6
View File
@@ -1,8 +1,8 @@
#include "print.h"
#include <fx/core/hash.h>
#include <fx/term/print.h>
#include <ctype.h>
#include <fx/hash.h>
#include <fx/term/print.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
@@ -131,17 +131,20 @@ int fx_putc(char c)
return fx_tty_putc(fx_stdtty, 0, c);
}
int fx_puts(const char* s)
int fx_puts(const char *s)
{
return fx_tty_puts(fx_stdtty, 0, s);
}
int fx_printf(const char* format, ...)
int fx_printf(const char *format, ...)
{
va_list arg;
va_start(arg, format);
int x = fx_tty_vprintf(
fx_stdtty, FX_TTY_DISABLE_INTERPOLATED_FORMATTING, format, arg);
fx_stdtty,
FX_TTY_DISABLE_INTERPOLATED_FORMATTING,
format,
arg);
va_end(arg);
return x;
}
}