![]() |
![]() |
![]() |
Criawips Reference Manual | ![]() |
---|
leptonlepton — |
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);
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 .
|
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 .
|
void cria_lepton_shutdown (void);
Shutdown the functionality of the lepton system, freeing all the memory that has been used.
void cria_lepton_unref (CriaLepton lepton);
Unrefs the CriaLepton specified by lepton
, frees allocated memory if
necessary.
lepton : |
the CriaLepton to be unreffed |
<< image | CriaPresentation >> |