mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
Some comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23632 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f36073916f
commit
5a4bfacce8
10
m_struct.h
10
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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user