axl_puts should return i32

This commit is contained in:
NukeBird 2025-12-02 22:29:15 +03:00
parent a9d8874980
commit 7b20fdb03e
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ i8 axl_putchar(i32 c)
return char_to_write;
}
i8 axl_puts(const i8* str)
i32 axl_puts(const i8* str)
{
HANDLE console_handle = GetStdHandle(STD_OUTPUT_HANDLE);

View file

@ -4,7 +4,7 @@
#define AXL_EOF -1
#define AXL_SUCCESS 0
i8 axl_putchar(i32 c);
i8 axl_puts(const i8* str);
i8 axl_putchar(i32 c);
i32 axl_puts(const i8* str);
#endif // !AXL_IO_H