Skip to content

以下函数错误 #67

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)
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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