# HG changeset patch # User reimar # Date 1182680651 0 # Node ID 10a64a994a16066c06e3130e968ef99ce3ff121c # Parent ecbb54f8d299f5220be0dbc6649f3c28af9574cb Some comment typo fixes diff -r ecbb54f8d299 -r 10a64a994a16 m_struct.h --- a/m_struct.h Sun Jun 24 10:20:42 2007 +0000 +++ b/m_struct.h Sun Jun 24 10:24:11 2007 +0000 @@ -44,7 +44,7 @@ #define M_ST_MB_P(struct_p, struct_offset) \ ((void*) (struct_p) + (unsigned long) (struct_offset)) -/// Acces a struct field at a given offset. +/// Access a struct field at a given offset. /** \param member_type Type of the field. * \param struct_p Pointer to the struct. * \param struct_offset Offset of the field in the struct. @@ -73,7 +73,7 @@ m_struct_set(m_struct_t* st, void* obj, char* field, char* param); /// Reset a field (or all if field == NULL) to defaults. -/** \param st Struct definiton. +/** \param st Struct definition. * \param obj Pointer to the struct to set. * \param field Name of the field to reset, if NULL all fields are reseted. */ @@ -81,7 +81,7 @@ m_struct_reset(m_struct_t* st, void* obj, const char* field); /// Create a copy of an existing struct. -/** \param st Struct definiton. +/** \param st Struct definition. * \param obj Pointer to the struct to copy. * \return Newly allocated copy of obj. */ @@ -89,14 +89,14 @@ m_struct_copy(m_struct_t* st, void* obj); /// Free an allocated struct. -/** \param st Struct definiton. +/** \param st Struct definition. * \param obj Pointer to the struct to copy. */ void m_struct_free(m_struct_t* st, void* obj); /// Get a field description. -/** \param st Struct definiton. +/** \param st Struct definition. * \param f Name of the field. * \return The \ref m_option struct describing the field or NULL if not found. */