mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gen: add MapHashFn typedef before map struct is declared (#7541)
This commit is contained in:
parent
333cd41fca
commit
17cccc7b36
@ -428,6 +428,9 @@ static voidptr memfreedup(voidptr ptr, voidptr src, int sz) {
|
|||||||
free(ptr);
|
free(ptr);
|
||||||
return memdup(src, sz);
|
return memdup(src, sz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
typedef uint64_t (*MapHashFn)(void*);
|
||||||
|
typedef int (*MapEqFn)(void*, void*);
|
||||||
'
|
'
|
||||||
c_builtin_types = '
|
c_builtin_types = '
|
||||||
//================================== builtin types ================================*/
|
//================================== builtin types ================================*/
|
||||||
|
Loading…
Reference in New Issue
Block a user