summaryrefslogtreecommitdiffstats
path: root/m_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_struct.h')
-rw-r--r--m_struct.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/m_struct.h b/m_struct.h
index 9c95c21739..f56670ff49 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -44,7 +44,7 @@ typedef struct m_struct_st {
#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 @@ int
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 @@ void
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 @@ void*
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.
*/