view src/proto/hashtab.pro @ 11921:bafbdbc64bbe v8.0.0840

patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong commit https://github.com/vim/vim/commit/b6843a007da9c06bd8f9491cc12e5e0afd858f33 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 2 22:07:12 2017 +0200 patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong Problem: MS-Windows: fopen() and open() prototypes do not match the ones in the system header file. Can't build without FEAT_MBYTE. Solution: Add "const". Move macro to after including protoo.h.
author Christian Brabandt <cb@256bit.org>
date Wed, 02 Aug 2017 22:15:04 +0200
parents 21b0a39d13ed
children 34966be2e856
line wrap: on
line source

/* hashtab.c */
void hash_init(hashtab_T *ht);
void hash_clear(hashtab_T *ht);
void hash_clear_all(hashtab_T *ht, int off);
hashitem_T *hash_find(hashtab_T *ht, char_u *key);
hashitem_T *hash_lookup(hashtab_T *ht, char_u *key, hash_T hash);
void hash_debug_results(void);
int hash_add(hashtab_T *ht, char_u *key);
int hash_add_item(hashtab_T *ht, hashitem_T *hi, char_u *key, hash_T hash);
void hash_remove(hashtab_T *ht, hashitem_T *hi);
void hash_lock(hashtab_T *ht);
void hash_unlock(hashtab_T *ht);
hash_T hash_hash(char_u *key);
/* vim: set ft=c : */