mirror of https://github.com/libsdl-org/SDL.git
Remove underscore for _SDL_iconv_t
And change the name, not to have the same for pointer and data
This commit is contained in:
parent
07808d6a03
commit
25336d053a
|
|
@ -602,7 +602,7 @@ extern DECLSPEC float SDLCALL SDL_tanf(float x);
|
||||||
#define SDL_ICONV_EINVAL (size_t)-4
|
#define SDL_ICONV_EINVAL (size_t)-4
|
||||||
|
|
||||||
/* SDL_iconv_* are now always real symbols/types, not macros or inlined. */
|
/* SDL_iconv_* are now always real symbols/types, not macros or inlined. */
|
||||||
typedef struct _SDL_iconv_t *SDL_iconv_t;
|
typedef struct SDL_iconv_data_t *SDL_iconv_t;
|
||||||
extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode,
|
extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode,
|
||||||
const char *fromcode);
|
const char *fromcode);
|
||||||
extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd);
|
extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd);
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ enum
|
||||||
#define ENCODING_UCS4NATIVE ENCODING_UCS4LE
|
#define ENCODING_UCS4NATIVE ENCODING_UCS4LE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct _SDL_iconv_t
|
struct SDL_iconv_data_t
|
||||||
{
|
{
|
||||||
int src_fmt;
|
int src_fmt;
|
||||||
int dst_fmt;
|
int dst_fmt;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue