Skip to content
Snippets Groups Projects
Commit b318b141 authored by deuce's avatar deuce
Browse files

Add xp_asprintf_free() function so Win32 can still keep goats contented with

its DLLs.
parent 9b283ee5
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,11 @@
/* Maximum length of a format specifier including the % */
#define MAX_FORMAT_LEN 256
void xp_asprintf_free(char *format)
{
free(format);
}
int xp_printf_get_type(const char *format)
{
const char *p;
......
......@@ -71,6 +71,7 @@
#if defined(__cplusplus)
extern "C" {
#endif
void xp_asprintf_free(char *format);
char *xp_asprintf_start(const char *format);
char *xp_asprintf_next(char *format, int type, ...);
char *xp_asprintf_end(char *format);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment