changeset 1696:fea7f14dfaff

html.cc cleanups They remove two unused structs and make variable names consistent between function typedefs and function definitions.
author Jeremy Henty <onepoint@starurchin.org>
date Wed, 25 Aug 2010 13:02:06 +0200
parents a9a11a23d707
children 6eb8f4815460
files src/html.cc
diffstat 1 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Mon Aug 23 22:53:11 2010 +0200
+++ b/src/html.cc	Wed Aug 25 13:02:06 2010 +0200
@@ -68,9 +68,8 @@
  * Typedefs
  *---------------------------------------------------------------------------*/
 class DilloHtml;
-typedef void (*TagOpenFunct) (DilloHtml *Html, const char *Tag, int Tagsize);
-typedef void (*TagCloseFunct) (DilloHtml *Html, int TagIdx);
-typedef struct _DilloHtmlClass   DilloHtmlClass;
+typedef void (*TagOpenFunct) (DilloHtml *html, const char *tag, int tagsize);
+typedef void (*TagCloseFunct) (DilloHtml *html, int TagIdx);
 
 typedef enum {
    SEEK_ATTR_START,
@@ -3132,14 +3131,6 @@
  *     - Empty elements have both inline and block container clear.
  *       (flow have both set)
  */
-struct _TagInfo{
-   const char *name;
-   unsigned char Flags;
-   char EndTag;
-   uchar_t TagLevel;
-   TagOpenFunct open;
-   TagCloseFunct close;
-};
 
 
 const TagInfo Tags[] = {