Update C sources

This commit is contained in:
Milan Nikolic 2017-02-01 15:56:27 +01:00
parent aba5226027
commit e257f040ea
8 changed files with 415 additions and 415 deletions

View file

@ -57,7 +57,7 @@ func GetDroppedFiles(count *int32) []string {
ccount := (*C.int)(unsafe.Pointer(count))
ret := C.GetDroppedFiles(ccount)
tmpslice := (*[1 << 30]*C.char)(unsafe.Pointer(ret))[:*count:*count]
tmpslice := (*[1 << 24]*C.char)(unsafe.Pointer(ret))[:*count:*count]
gostrings := make([]string, *count)
for i, s := range tmpslice {
gostrings[i] = C.GoString(s)