< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.cc

Print this page

        

@@ -22,25 +22,34 @@
  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  *
  * Google Author(s): Behdad Esfahbod
  */
 
-#include "hb-map-private.hh"
+#include "hb-map.hh"
 
 
-/* Public API */
+/**
+ * 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 (void)
+hb_map_create ()
 {
   hb_map_t *map;
 
   if (!(map = hb_object_create<hb_map_t> ()))
     return hb_map_get_empty ();

@@ -56,11 +65,11 @@
  * Return value: (transfer full):
  *
  * Since: 1.7.7
  **/
 hb_map_t *
-hb_map_get_empty (void)
+hb_map_get_empty ()
 {
   return const_cast<hb_map_t *> (&Null(hb_map_t));
 }
 
 /**

@@ -155,12 +164,10 @@
  * @key:
  * @value:
  *
  *
  *
- * Return value:
- *
  * Since: 1.7.7
  **/
 void
 hb_map_set (hb_map_t       *map,
             hb_codepoint_t  key,

@@ -186,11 +193,11 @@
 }
 
 /**
  * hb_map_del:
  * @map: a map.
- * @codepoint:
+ * @key:
  *
  *
  *
  * Since: 1.7.7
  **/

@@ -202,11 +209,11 @@
 }
 
 /**
  * hb_map_has:
  * @map: a map.
- * @codepoint:
+ * @key:
  *
  *
  *
  * Since: 1.7.7
  **/
< prev index next >