Repository navigation
ch2-cgo/ch2-06-qsort #625
Replies: 2 comments 1 reply
|
最后一段代码应该把Slice改成Sort吧 |
|
package qsort /* typedef int (qsort_cmp_func_t)(const void a, const void* b); type GoQsortCompareInfo struct { var m sync.Map //export _cgo_qsort_compare } func Slice(slice interface{}, less func(a, b int) bool) { } func GetGoid() int64 { } |
Uh oh!
There was an error while loading. Please reload this page.
ch2-cgo/ch2-06-qsort
Go语言高级编程
https://chai2010.cn/advanced-go-programming-book/ch2-cgo/ch2-06-qsort.html
All reactions