diff m_struct.h @ 23612:10a64a994a16

Some comment typo fixes
author reimar
date Sun, 24 Jun 2007 10:24:11 +0000
parents 0b262e00bc99
children 990bafe740df
line wrap: on
line diff
--- 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.
  */