Move documentation from function declarations to definitions

Uses a perl script to move it (scripts/movedocs.pl)
This commit is contained in:
ZyX
2014-05-10 00:53:36 +04:00
committed by Thiago de Arruda
parent 52a9a5b0b0
commit 880957ad4e
37 changed files with 1064 additions and 885 deletions

View File

@@ -51,6 +51,9 @@ char *os_getenvname_at_index(size_t index)
}
/// Get the process ID of the Neovim process.
///
/// @return the process ID.
int64_t os_get_pid()
{
#ifdef _WIN32
@@ -60,6 +63,10 @@ int64_t os_get_pid()
#endif
}
/// Get the hostname of the machine runing Neovim.
///
/// @param hostname Buffer to store the hostname.
/// @param len Length of `hostname`.
void os_get_hostname(char *hostname, size_t len)
{
#ifdef HAVE_SYS_UTSNAME_H