aboutsummaryrefslogtreecommitdiff
path: root/src/stardict-private.h
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-26 23:26:52 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-26 23:29:45 +0100
commit10240c716aa7eea6aada39e77a7a3cd290a21663 (patch)
tree88cf815e4d002d0765ad03f97c64faa1acc317b2 /src/stardict-private.h
parentf9c308765f7aa16d553c72551fd830b7e29c9aec (diff)
downloadtdv-10240c716aa7eea6aada39e77a7a3cd290a21663.tar.gz
tdv-10240c716aa7eea6aada39e77a7a3cd290a21663.tar.xz
tdv-10240c716aa7eea6aada39e77a7a3cd290a21663.zip
Formatting
Diffstat (limited to 'src/stardict-private.h')
-rw-r--r--src/stardict-private.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/stardict-private.h b/src/stardict-private.h
index 123c0c3..35630ed 100644
--- a/src/stardict-private.h
+++ b/src/stardict-private.h
@@ -21,10 +21,10 @@
#ifndef STARDICTPRIVATE_H
#define STARDICTPRIVATE_H
-/** Describes a single entry in the dictionary index. */
+/// Describes a single entry in the dictionary index.
typedef struct stardict_index_entry StardictIndexEntry;
-/** Describes a single entry in the synonyms index. */
+/// Describes a single entry in the synonyms index.
typedef struct stardict_synonym_entry StardictSynonymEntry;
@@ -53,31 +53,31 @@ struct stardict_info
struct stardict_index_entry
{
- gchar * name; //!< The word in utf-8
- guint64 data_offset; //!< Offset of the definition
- guint32 data_size; //!< Size of the definition
+ gchar * name; ///< The word in utf-8
+ guint64 data_offset; ///< Offset of the definition
+ guint32 data_size; ///< Size of the definition
};
struct stardict_synonym_entry
{
- gchar * word; //!< A synonymous word
- guint32 original_word; //!< The original word's index
+ gchar * word; ///< A synonymous word
+ guint32 original_word; ///< The original word's index
};
struct stardict_ifo_key
{
- const gchar *name; //!< Name of the key
+ const gchar *name; ///< Name of the key
enum {
- IFO_STRING, //!< A @code gchar * @endcode value
- IFO_NUMBER //!< A @code gulong @endcode value
- } type; //!< Type of the value
- size_t offset; //!< Offset within StardictInfo
+ IFO_STRING, ///< A @code gchar * @endcode value
+ IFO_NUMBER ///< A @code gulong @endcode value
+ } type; ///< Type of the value
+ size_t offset; ///< Offset within StardictInfo
};
-/** Lists all the entries in StardictInfo. */
+/// Lists all the entries in StardictInfo.
extern const struct stardict_ifo_key _stardict_ifo_keys[];
-/** Denotes the length of _stardict_ifo_keys. */
+/// Denotes the length of _stardict_ifo_keys.
extern gsize _stardict_ifo_keys_length;
-#endif /* ! STARDICTPRIVATE_H */
+#endif // ! STARDICTPRIVATE_H