cr-pseudo

cr-pseudo

Synopsis

struct              CRPseudo;
void                cr_pseudo_destroy                   (CRPseudo *a_this);
void                cr_pseudo_dump                      (CRPseudo const *a_this,
                                                         FILE *a_fp);
CRPseudo *          cr_pseudo_new                       (void);
guchar *            cr_pseudo_to_string                 (CRPseudo const *a_this);

Description

Details

struct CRPseudo

struct CRPseudo {
        enum CRPseudoType type ;
        CRString *name ;
        CRString *extra ;
        CRParsingLocation location ;
};


cr_pseudo_destroy ()

void                cr_pseudo_destroy                   (CRPseudo *a_this);

destructor of the CRPseudo class.

a_this :

the current instance to destroy.

cr_pseudo_dump ()

void                cr_pseudo_dump                      (CRPseudo const *a_this,
                                                         FILE *a_fp);

Dumps the pseudo to a file.

a_this :

the current instance of pseudo

a_fp :

the destination file pointer.

cr_pseudo_new ()

CRPseudo *          cr_pseudo_new                       (void);

Returns :

the newly build instance.

cr_pseudo_to_string ()

guchar *            cr_pseudo_to_string                 (CRPseudo const *a_this);

a_this :

the current instance of CRPseud.

Returns :

the serialized pseudo. Caller must free the returned string using g_free().