Libcroco
Functions
cr-pseudo.c File Reference
#include "cr-pseudo.h"

Go to the source code of this file.

Functions

CRPseudocr_pseudo_new (void)
 @CRPseudo: The definition of the CRPseudo class. More...
 
guchar * cr_pseudo_to_string (CRPseudo const *a_this)
 cr_pseudo_to_string: @a_this: the current instance of #CRPseud. More...
 
void cr_pseudo_dump (CRPseudo const *a_this, FILE *a_fp)
 cr_pseudo_dump: @a_this: the current instance of pseudo @a_fp: the destination file pointer. More...
 
void cr_pseudo_destroy (CRPseudo *a_this)
 cr_pseudo_destroy: @a_this: the current instance to destroy. More...
 

Function Documentation

◆ cr_pseudo_destroy()

void cr_pseudo_destroy ( CRPseudo a_this)

cr_pseudo_destroy: @a_this: the current instance to destroy.

destructor of the CRPseudo class.

Definition at line 152 of file cr-pseudo.c.

References cr_string_destroy(), _CRPseudo::extra, and _CRPseudo::name.

Referenced by cr_additional_sel_destroy(), and cr_additional_sel_set_pseudo().

◆ cr_pseudo_dump()

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

cr_pseudo_dump: @a_this: the current instance of pseudo @a_fp: the destination file pointer.

Dumps the pseudo to a file.

Definition at line 131 of file cr-pseudo.c.

References cr_pseudo_to_string().

◆ cr_pseudo_new()

CRPseudo* cr_pseudo_new ( void  )

@CRPseudo: The definition of the CRPseudo class.

cr_pseudo_new: Constructor of the CRPseudo class.

Returns the newly build instance.

Definition at line 38 of file cr-pseudo.c.

◆ cr_pseudo_to_string()

guchar* cr_pseudo_to_string ( CRPseudo const *  a_this)

cr_pseudo_to_string: @a_this: the current instance of #CRPseud.

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

Definition at line 55 of file cr-pseudo.c.

References IDENT_PSEUDO, _CRPseudo::name, and _CRPseudo::type.

Referenced by cr_additional_sel_one_to_string(), cr_additional_sel_to_string(), and cr_pseudo_dump().