view src/flac-1.2.1/src/plugin_winamp2/tagz.h @ 20:ab7c38c4c577

Ranlib
author Chris Cannam
date Mon, 25 Mar 2013 16:28:19 +0000
parents 05aa0afa9217
children
line wrap: on
line source
#pragma once

#ifdef  __cplusplus
extern "C" {
#endif

#ifndef UINT
typedef unsigned int UINT;
#endif

#ifdef TAGZ_UNICODE
#if _MSC_VER <= 1200
typedef unsigned short T_CHAR;
#else
typedef wchar_t T_CHAR;
#endif
#else
#define T_CHAR char
#endif

typedef T_CHAR* (*TAGFUNC)(const T_CHAR *tag,void *p);    /* return 0 if not found */
typedef void (*TAGFREEFUNC)(T_CHAR *tag,void *p);


UINT tagz_format(const T_CHAR * spec,TAGFUNC f,TAGFREEFUNC ff,void *fp,T_CHAR * out,UINT max);
T_CHAR * tagz_format_r(const T_CHAR * spec,TAGFUNC f,TAGFREEFUNC ff,void * fp);

extern const char tagz_manual[];

#ifdef __cplusplus
}
#endif