< prev index next >
src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.cc
Print this page
*** 22,46 ****
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
* Google Author(s): Behdad Esfahbod
*/
! #include "hb-map-private.hh"
! /* Public API */
/**
* hb_map_create: (Xconstructor)
*
* Return value: (transfer full):
*
* Since: 1.7.7
**/
hb_map_t *
! hb_map_create (void)
{
hb_map_t *map;
if (!(map = hb_object_create<hb_map_t> ()))
return hb_map_get_empty ();
--- 22,55 ----
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
* Google Author(s): Behdad Esfahbod
*/
! #include "hb-map.hh"
! /**
! * SECTION:hb-map
! * @title: hb-map
! * @short_description: Object representing integer to integer mapping
! * @include: hb.h
! *
! * Map objects are integer-to-integer hash-maps. Currently they are
! * not used in the HarfBuzz public API, but are provided for client's
! * use if desired.
! **/
/**
* hb_map_create: (Xconstructor)
*
* Return value: (transfer full):
*
* Since: 1.7.7
**/
hb_map_t *
! hb_map_create ()
{
hb_map_t *map;
if (!(map = hb_object_create<hb_map_t> ()))
return hb_map_get_empty ();
*** 56,66 ****
* Return value: (transfer full):
*
* Since: 1.7.7
**/
hb_map_t *
! hb_map_get_empty (void)
{
return const_cast<hb_map_t *> (&Null(hb_map_t));
}
/**
--- 65,75 ----
* Return value: (transfer full):
*
* Since: 1.7.7
**/
hb_map_t *
! hb_map_get_empty ()
{
return const_cast<hb_map_t *> (&Null(hb_map_t));
}
/**
*** 155,166 ****
* @key:
* @value:
*
*
*
- * Return value:
- *
* Since: 1.7.7
**/
void
hb_map_set (hb_map_t *map,
hb_codepoint_t key,
--- 164,173 ----
*** 186,196 ****
}
/**
* hb_map_del:
* @map: a map.
! * @codepoint:
*
*
*
* Since: 1.7.7
**/
--- 193,203 ----
}
/**
* hb_map_del:
* @map: a map.
! * @key:
*
*
*
* Since: 1.7.7
**/
*** 202,212 ****
}
/**
* hb_map_has:
* @map: a map.
! * @codepoint:
*
*
*
* Since: 1.7.7
**/
--- 209,219 ----
}
/**
* hb_map_has:
* @map: a map.
! * @key:
*
*
*
* Since: 1.7.7
**/
< prev index next >