src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.cc
changeset 54232 7c11a7cc7c1d
parent 50826 f5b95be8b6e2
equal deleted inserted replaced
54231:e4813eded7cb 54232:7c11a7cc7c1d
    22  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
    22  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
    23  *
    23  *
    24  * Google Author(s): Behdad Esfahbod
    24  * Google Author(s): Behdad Esfahbod
    25  */
    25  */
    26 
    26 
    27 #include "hb-set-private.hh"
    27 #include "hb-set.hh"
    28 
    28 
    29 
    29 
    30 /* Public API */
    30 /**
       
    31  * SECTION:hb-set
       
    32  * @title: hb-set
       
    33  * @short_description: Object representing a set of integers
       
    34  * @include: hb.h
       
    35  *
       
    36  * Set objects represent a mathematical set of integer values.  They are
       
    37  * used in non-shaping API to query certain set of characters or glyphs,
       
    38  * or other integer values.
       
    39  **/
    31 
    40 
    32 
    41 
    33 /**
    42 /**
    34  * hb_set_create: (Xconstructor)
    43  * hb_set_create: (Xconstructor)
    35  *
    44  *
    36  * Return value: (transfer full):
    45  * Return value: (transfer full):
    37  *
    46  *
    38  * Since: 0.9.2
    47  * Since: 0.9.2
    39  **/
    48  **/
    40 hb_set_t *
    49 hb_set_t *
    41 hb_set_create (void)
    50 hb_set_create ()
    42 {
    51 {
    43   hb_set_t *set;
    52   hb_set_t *set;
    44 
    53 
    45   if (!(set = hb_object_create<hb_set_t> ()))
    54   if (!(set = hb_object_create<hb_set_t> ()))
    46     return hb_set_get_empty ();
    55     return hb_set_get_empty ();
    56  * Return value: (transfer full):
    65  * Return value: (transfer full):
    57  *
    66  *
    58  * Since: 0.9.2
    67  * Since: 0.9.2
    59  **/
    68  **/
    60 hb_set_t *
    69 hb_set_t *
    61 hb_set_get_empty (void)
    70 hb_set_get_empty ()
    62 {
    71 {
    63   return const_cast<hb_set_t *> (&Null(hb_set_t));
    72   return const_cast<hb_set_t *> (&Null(hb_set_t));
    64 }
    73 }
    65 
    74 
    66 /**
    75 /**
   389  * Since: 0.9.10
   398  * Since: 0.9.10
   390  *
   399  *
   391  * Deprecated: 1.6.1
   400  * Deprecated: 1.6.1
   392  **/
   401  **/
   393 void
   402 void
   394 hb_set_invert (hb_set_t *set)
   403 hb_set_invert (hb_set_t *set HB_UNUSED)
   395 {
   404 {
   396 }
   405 }
   397 
   406 
   398 /**
   407 /**
   399  * hb_set_get_population:
   408  * hb_set_get_population: