NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
s_printf.hpp
1#pragma once
2#include <types.h>
3#include <game/sLib/s_lib.hpp>
4
5/// @brief Wrapper around the runtime's formatted print function.
6/// @ingroup slib
7namespace sPrintf {
8 /// @brief Gets the function used to print formatted output.
9 vprintfFunc GetVPrintfFunc();
10
11 /**
12 * @brief Prints formatted output.
13 *
14 * @param format The format string.
15 * @param args The arguments for the format string.
16 * @return The number of characters printed.
17 */
18 int vprintf(const char *format, va_list *args);
19};
Wrapper around the runtime's formatted print function.
Definition s_printf.hpp:7
int vprintf(const char *format, va_list *args)
Prints formatted output.
Definition s_printf.cpp:9
vprintfFunc GetVPrintfFunc()
Gets the function used to print formatted output.
Definition s_printf.cpp:5