Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1433 from Philpax/issue-15053
Browse files Browse the repository at this point in the history
Fix Issue 15053 - make Runtime.cArgs @nogc
  • Loading branch information
schveiguy committed Nov 18, 2015
2 parents 12ea107 + def57c6 commit 0c43b04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/runtime.d
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private
extern (C) void* thread_stackBottom();

extern (C) string[] rt_args();
extern (C) CArgs rt_cArgs();
extern (C) CArgs rt_cArgs() @nogc;
}


Expand Down Expand Up @@ -156,7 +156,7 @@ struct Runtime
* }
* ---
*/
static @property CArgs cArgs()
static @property CArgs cArgs() @nogc
{
return rt_cArgs();
}
Expand Down
2 changes: 1 addition & 1 deletion src/rt/dmain2.d
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ struct CArgs

__gshared CArgs _cArgs;

extern (C) CArgs rt_cArgs()
extern (C) CArgs rt_cArgs() @nogc
{
return _cArgs;
}
Expand Down

0 comments on commit 0c43b04

Please sign in to comment.