comparison test/automated/SDL_at.h @ 3748:9428ae743878 gsoc2009_unit_tests

Have SDL_ATprint just call SDL_ATprintVerbose.
author Edgar Simo <bobbens@gmail.com>
date Tue, 04 Aug 2009 17:53:20 +0000
parents 808fad5fb593
children 4a58821c9c98
comparison
equal deleted inserted replaced
3747:f7a3a47e6b50 3748:9428ae743878
125 * @brief Prints some text. 125 * @brief Prints some text.
126 * 126 *
127 * @param msg printf formatted string to display. 127 * @param msg printf formatted string to display.
128 * @return Number of character printed. 128 * @return Number of character printed.
129 */ 129 */
130 int SDL_ATprint( const char *msg, ... ); 130 #define SDL_ATprint(msg, args...) \
131 SDL_ATprintVerbose( 0, msg, ## args)
131 /** 132 /**
132 * @brief Prints some verbose text. 133 * @brief Prints some verbose text.
134 *
135 * Verbosity levels are as follows:
136 *
137 * - 0 standard stdout, enabled by default
138 * - 1 additional information
139 * - 2 detailed information (spammy)
133 * 140 *
134 * @param level Level of verbosity to print at. 141 * @param level Level of verbosity to print at.
135 * @param msg printf formatted string to display. 142 * @param msg printf formatted string to display.
136 * @return Number of character printed. 143 * @return Number of character printed.
137 */ 144 */