mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
eval,*: Move get_tv_string to typval.c
Function was renamed and changed to return `const char *`.
This commit is contained in:
@@ -110,14 +110,14 @@ void mch_copy_sec(char_u *from_file, char_u *to_file)
|
||||
|
||||
// Return a pointer to the ACL of file "fname" in allocated memory.
|
||||
// Return NULL if the ACL is not available for whatever reason.
|
||||
vim_acl_T mch_get_acl(char_u *fname)
|
||||
vim_acl_T mch_get_acl(const char_u *fname)
|
||||
{
|
||||
vim_acl_T ret = NULL;
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Set the ACL of file "fname" to "acl" (unless it's NULL).
|
||||
void mch_set_acl(char_u *fname, vim_acl_T aclent)
|
||||
void mch_set_acl(const char_u *fname, vim_acl_T aclent)
|
||||
{
|
||||
if (aclent == NULL)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user