summaryrefslogtreecommitdiff
path: root/src/cr-pseudo.h
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-03-19 22:13:11 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-03-19 22:13:11 +0000
commitb370f217eed617133e5ed8bc9ff28b6669fc5e05 (patch)
treedefe3e569b19ecda0deb64841f3549ceb73c1a3f /src/cr-pseudo.h
parentcc7ec65a2b735e285047c7e0a61212337d7ab24c (diff)
downloadlibcroco-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.h57
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__*/