diff options
author | Dodji Seketeli <dodji@src.gnome.org> | 2003-03-19 22:13:11 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@src.gnome.org> | 2003-03-19 22:13:11 +0000 |
commit | b370f217eed617133e5ed8bc9ff28b6669fc5e05 (patch) | |
tree | defe3e569b19ecda0deb64841f3549ceb73c1a3f /src/cr-pseudo.h | |
parent | cc7ec65a2b735e285047c7e0a61212337d7ab24c (diff) | |
download | libcroco-b370f217eed617133e5ed8bc9ff28b6669fc5e05.tar.gz |
added better in memory serialisation to the selector related data structures. Dodji.
Diffstat (limited to 'src/cr-pseudo.h')
-rw-r--r-- | src/cr-pseudo.h | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/src/cr-pseudo.h b/src/cr-pseudo.h index 25195e6..141e46d 100644 --- a/src/cr-pseudo.h +++ b/src/cr-pseudo.h @@ -31,41 +31,40 @@ #include <glib.h> #include "cr-attr-sel.h" -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS - enum CRPseudoType - { - IDENT_PSEUDO = 0, - FUNCTION_PSEUDO - } ; +enum CRPseudoType +{ + IDENT_PSEUDO = 0, + FUNCTION_PSEUDO +} ; - typedef struct _CRPseudo CRPseudo ; +typedef struct _CRPseudo CRPseudo ; - /** - *The CRPseudo Class. - *Abstract a "pseudo" as defined by the css2 spec - *in appendix D.1 . - */ - struct _CRPseudo - { - enum CRPseudoType type ; - GString *name ; - GString *extra ; - } ; +/** + *The CRPseudo Class. + *Abstract a "pseudo" as defined by the css2 spec + *in appendix D.1 . + */ +struct _CRPseudo +{ + enum CRPseudoType type ; + GString *name ; + GString *extra ; +} ; + +CRPseudo * +cr_pseudo_new (void) ; - CRPseudo * - cr_pseudo_new (void) ; +guchar * +cr_pseudo_to_string (CRPseudo *a_this) ; - void - cr_pseudo_dump (CRPseudo *a_this, FILE *a_fp) ; +void +cr_pseudo_dump (CRPseudo *a_this, FILE *a_fp) ; - void - cr_pseudo_destroy (CRPseudo *a_this) ; +void +cr_pseudo_destroy (CRPseudo *a_this) ; -#ifdef __cplusplus -} /*extern "C" {*/ -#endif +G_END_DECLS #endif /*__CR_PSEUDO_H__*/ |