gen: add MapHashFn typedef before map struct is declared (#7541)
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