lepton

lepton —

Synopsis




typedef     CriaLepton;
const gchar* cria_lepton_get                (CriaLepton lepton);
void        cria_lepton_init                (void);
CriaLepton  cria_lepton_ref                 (const gchar *string);
void        cria_lepton_shutdown            (void);
void        cria_lepton_unref               (CriaLepton lepton);

Description

Details

CriaLepton

typedef gsize CriaLepton;


cria_lepton_get ()

const gchar* cria_lepton_get                (CriaLepton lepton);

Get the string associated to a CriaLepton.

lepton : a CriaLepton
Returns : the string associated to a CriaLepton; returns an empty string (%"") if lepton is 0.

cria_lepton_init ()

void        cria_lepton_init                (void);

Initialize the lepton system.


cria_lepton_ref ()

CriaLepton  cria_lepton_ref                 (const gchar *string);

Creates a new CriaLepton if the string hasn't been registered yet. It it has it just increases the reference count and returns the yet registered CriaLepton.

string : the string to create a unique id (CriaLepton) for
Returns : the CriaLepton belonging to string.

cria_lepton_shutdown ()

void        cria_lepton_shutdown            (void);

Shutdown the functionality of the lepton system, freeing all the memory that has been used.


cria_lepton_unref ()

void        cria_lepton_unref               (CriaLepton lepton);

Unrefs the CriaLepton specified by lepton, frees allocated memory if necessary.

lepton : the CriaLepton to be unreffed