Skip to content

Inconsistent naming of types in std/posix.nim #22989

Open
@simonkrauter

Description

@simonkrauter

Description

The naming style for the C-wrapped types is inconsistent.
Some names use Pascalcase, some other use PascalCase.

Examples:
Sigset (C: sigset_t)
SigEvent (C: struct sigevent)
SigVal (C: union sigval)
Sigaction: (C: struct sigaction)
Itimerspec (C: struct itimerspec)
SigStack (C: struct sigstack)

The types are defined in those files:

  • posix/posix_macos_amd64.nim
  • posix/posix_nintendoswitch.nim
  • posix/posix_openbsd_amd64.nim
  • posix/posix_haiku.nim
  • posix/posix_other.nim
  • posix/posix_linux_amd64.nim

Nim Version

v2.0.0

Current Output

No response

Expected Output

No response

Possible Solution

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions