Avoid C typedefs.

This commit is contained in:
2025-08-05 22:53:56 -04:00
parent 56be517082
commit f20470acaf

View File

@ -123,7 +123,8 @@ struct DilloHtmlImage {
std::shared_ptr< DilloImage > image; std::shared_ptr< DilloImage > image;
}; };
typedef struct { struct DilloHtmlState
{
DilloHtmlParseMode parse_mode; DilloHtmlParseMode parse_mode;
DilloHtmlTableMode table_mode; DilloHtmlTableMode table_mode;
DilloHtmlTableBorderMode table_border_mode; DilloHtmlTableBorderMode table_border_mode;
@ -144,7 +145,7 @@ typedef struct {
have to be "handed over" (see Html_add_indented and have to be "handed over" (see Html_add_indented and
Html_eventually_pop_dw). */ Html_eventually_pop_dw). */
bool hand_over_break; bool hand_over_break;
} DilloHtmlState; };
/* /*
* Classes * Classes