Chore: move "geodata" to package "component"

This commit is contained in:
yaling888
2021-10-29 00:52:44 +08:00
parent 62b3ebe49f
commit 78cef7df59
21 changed files with 166 additions and 155 deletions

View File

@ -315,9 +315,9 @@ func NewClashPyContext(ruleProvidersName []string) error {
cArrPointer = unsafe.Pointer(&cStringArr[0])
}
rs := int(C.new_clash_py_context((**C.char)(cArrPointer), C.int(length)))
rs := C.new_clash_py_context((**C.char)(cArrPointer), C.int(length))
if rs == 0 {
if int(rs) == 0 {
err := PyLastError()
return fmt.Errorf("new script module context failure: %s", err.Error())
}