Logo Search packages:      
Sourcecode: m17n-lib version File versions  Download package

#define M17N_OBJECT_REF ( object   ) 

Value:

do {                                      \
    if (((M17NObject *) (object))->ref_count_extended)      \
      m17n_object_ref (object);                       \
    else if (((M17NObject *) (object))->ref_count > 0)      \
      {                                         \
      ((M17NObject *) (object))->ref_count++;         \
      if (! ((M17NObject *) (object))->ref_count)     \
        {                                 \
          ((M17NObject *) (object))->ref_count--;     \
          m17n_object_ref (object);             \
        }                                 \
      }                                         \
  } while (0)
en Increment the reference count of OBJECT if the count is not 0.

Definition at line 279 of file internal.h.


Generated by  Doxygen 1.6.0   Back to index