mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
Move documentation from function declarations to definitions
Uses a perl script to move it (scripts/movedocs.pl)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user