AdgPair

AdgPair — A wrapper for CpmlPair

Synopsis

typedef             AdgPair;
void                adg_pair_copy                       (AdgPair *pair,
                                                         const AdgPair *src);
AdgPair *           adg_pair_dup                        (const AdgPair *pair);

Object Hierarchy

  GBoxed
   +----AdgPair

Description

AdgPair is a wrapper in GType syntax of the CpmlPair struct.

Details

AdgPair

typedef CpmlPair AdgPair;

Another name for CpmlPair: check its documentation for the fields description and visibility details.

Since 1.0


adg_pair_copy ()

void                adg_pair_copy                       (AdgPair *pair,
                                                         const AdgPair *src);

Copies src in pair. It works in the same way as cpml_pair_copy() but performing argument validation before proceeding.

pair :

the destination AdgPair

src :

the source AdgPair

Since 1.0


adg_pair_dup ()

AdgPair *           adg_pair_dup                        (const AdgPair *pair);

Duplicates pair.

pair :

an AdgPair structure

Returns :

the duplicate of pair: must be freed with g_free() when no longer needed.

Since 1.0