Remove LogMessageEx definition from logging.inc (
bug 5897, r=kyles).
1 #ifndef _INCLUDE_KNIGHT_KE_COMMON_UTILS_H_
2 #define _INCLUDE_KNIGHT_KE_COMMON_UTILS_H_
10 * @brief Formats a buffer with C platform rules.
12 * Unlink platform snprintf, this will never return nonsense values like -1.
14 * @param buffer Buffer to store to.
15 * @param maxlength Maximum length of buffer (including null terminator).
16 * @param fmt printf() format string.
17 * @param ... Formatting arguments.
18 * @return Number of characters written.
20 extern size_t KE_PFormat(char *buffer, size_t maxlength, const char *fmt, ...);
23 * @brief Formats a buffer with C platform rules.
25 * Unlink platform snprintf, this will never return nonsense values like -1.
27 * @param buffer Buffer to store to.
28 * @param maxlength Maximum length of buffer (including null terminator).
29 * @param fmt printf() format string.
30 * @param args Formatting arguments.
31 * @return Number of characters written.
33 extern size_t KE_PFormatArgs(char *buffer, size_t maxlength, const char *fmt, va_list args);
36 #endif //_INCLUDE_KNIGHT_KE_COMMON_UTILS_H_