Example #1
0
func NewHTree(depth, pos int) *HashTree {
	t := C.ht_new((_Ctype_int)(depth), (_Ctype_int)(pos))
	return &HashTree{tree: t}
}
Example #2
0
func NewHTree(depth, pos int) *HashTree {
	t := C.ht_new(C.int(depth), C.int(pos), C.bool(false))
	return &HashTree{tree: t}
}