Skip to content

Commit

Permalink
Renamed "struct _TTF_Font" to "struct TTF_Font"
Browse files Browse the repository at this point in the history
Fixes #372
  • Loading branch information
slouken committed Jul 31, 2024
1 parent 5b6171c commit 2234741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/SDL3_ttf/SDL_ttf.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ extern SDL_DECLSPEC void SDLCALL TTF_ByteSwappedUNICODE(SDL_bool swapped);
*
* Opaque data!
*/
typedef struct _TTF_Font TTF_Font;
typedef struct TTF_Font TTF_Font;

/**
* Initialize SDL_ttf.
Expand Down
2 changes: 1 addition & 1 deletion src/SDL_ttf.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ typedef struct PosBuf {
} PosBuf_t;

/* The structure used to hold internal font information */
struct _TTF_Font {
struct TTF_Font {
/* Freetype2 maintains all sorts of useful info itself */
FT_Face face;

Expand Down

0 comments on commit 2234741

Please sign in to comment.