Skip to content

Commit

Permalink
remove ArgvOptions from public API
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Mar 3, 2024
1 parent c75be30 commit 67bf217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getargv.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import "unsafe"
type (
Argv = C.struct_ArgvResult
ArgvArgc = C.struct_ArgvArgcResult
ArgvOptions = C.struct_GetArgvOptions
argvOptions = C.struct_GetArgvOptions
pid_t = uint
)

Expand All @@ -26,7 +26,7 @@ func p2i(p *C.char) uintptr {

func getArgv(pid pid_t, skip uint, nuls bool) (*Argv, error) {
r := new(Argv)
o := ArgvOptions{
o := argvOptions{
skip: C.uint(skip),
pid: C.pid_t(pid),
nuls: C.bool(nuls),
Expand Down

0 comments on commit 67bf217

Please sign in to comment.