Skip to content

Commit

Permalink
sample
Browse files Browse the repository at this point in the history
  • Loading branch information
thradams committed Jun 30, 2024
1 parent 43c4e9a commit 627f8b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -1880,7 +1880,7 @@ struct X {
char *_Owner _Opt name;
};

void delete(struct X * _Owner p)
void delete(struct X * _Owner _Opt p)
{
if (p)
free(p);
Expand Down Expand Up @@ -1912,7 +1912,7 @@ struct X {
char *_Owner _Opt surname;
};

void delete(struct X * _Owner p)
void delete(struct X * _Owner _Opt p)
{
if (p)
{
Expand Down

0 comments on commit 627f8b5

Please sign in to comment.