Skip to content

以下函数错误 #67

@rhettli

Description

@rhettli

github.com/openset/php2go/php

....\pkg\mod\github.com\openset\php2go@v0.0.0-20200118041952-0d6edc7c98fe\php\directory.go:27:22: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close

Compilation finished with exit code 2

// Closedir - Close directory's handle
func Closedir(fd int) (err error) {

	return syscall.Close(fd)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions