api/*.c: Comment cleanup

- @justinmk: Clarify comments
- Match verbiage used in other api/*.c files
- Fix a few typos/missing words
This commit is contained in:
Michael Reed
2015-01-11 20:05:26 -05:00
committed by Justin M. Keyes
parent 6425627c3f
commit 75a1006a20
4 changed files with 28 additions and 28 deletions

View File

@@ -308,7 +308,7 @@ end:
try_end(err);
}
/// Gets a buffer variable
/// Gets a buffer-scoped (b:) variable.
///
/// @param buffer The buffer handle
/// @param name The variable name
@@ -325,7 +325,7 @@ Object buffer_get_var(Buffer buffer, String name, Error *err)
return dict_get_value(buf->b_vars, name, err);
}
/// Sets a buffer variable. Passing 'nil' as value deletes the variable.
/// Sets a buffer-scoped (b:) variable. 'nil' value deletes the variable.
///
/// @param buffer The buffer handle
/// @param name The variable name