Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate std/socket.d to please dlang/dmd#12520 #8094

Merged
merged 1 commit into from
May 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Annotate std/socket.d to please dlang/dmd#12520
  • Loading branch information
nordlow committed May 17, 2021
commit 16dd0f2ae1d0c3de3ca028b1c8140537430ba7d3
16 changes: 8 additions & 8 deletions std/socket.d
Original file line number Diff line number Diff line change
Expand Up @@ -1394,12 +1394,12 @@ protected:


public:
override @property sockaddr* name()
override @property sockaddr* name() return
{
return &sa;
}

override @property const(sockaddr)* name() const
override @property const(sockaddr)* name() const return
{
return &sa;
}
Expand Down Expand Up @@ -1475,12 +1475,12 @@ protected:


public:
override @property sockaddr* name()
override @property sockaddr* name() return
{
return cast(sockaddr*)&sin;
}

override @property const(sockaddr)* name() const
override @property const(sockaddr)* name() const return
{
return cast(const(sockaddr)*)&sin;
}
Expand Down Expand Up @@ -1729,12 +1729,12 @@ protected:


public:
override @property sockaddr* name()
override @property sockaddr* name() return
{
return cast(sockaddr*)&sin6;
}

override @property const(sockaddr)* name() const
override @property const(sockaddr)* name() const return
{
return cast(const(sockaddr)*)&sin6;
}
Expand Down Expand Up @@ -1969,12 +1969,12 @@ static if (is(sockaddr_un))
}

public:
override @property sockaddr* name()
override @property sockaddr* name() return
{
return cast(sockaddr*)&sun;
}

override @property const(sockaddr)* name() const
override @property const(sockaddr)* name() const return
{
return cast(const(sockaddr)*)&sun;
}
Expand Down