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

Commit 2e77b65

Browse files
committed
struct MemVal moved into parseoptions.d
1 parent 9cc3b8f commit 2e77b65

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/core/gc/config.d

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ import core.internal.parseoptions;
1212

1313
__gshared Config config;
1414

15-
/// UDA for field treated as memory value
16-
struct MemVal {}
17-
1815
struct Config
1916
{
2017
bool disable; // start disabled

src/core/internal/parseoptions.d

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import core.stdc.ctype;
1515
import core.stdc.string;
1616
import core.vararg;
1717
import core.internal.traits : externDFunc, hasUDA;
18-
import core.gc.config : MemVal;
1918

2019

2120
@nogc nothrow:
@@ -29,6 +28,9 @@ alias rt_configCallBack = string delegate(string) @nogc nothrow;
2928
alias fn_configOption = string function(string opt, scope rt_configCallBack dg, bool reverse) @nogc nothrow;
3029
alias rt_configOption = externDFunc!("rt.config.rt_configOption", fn_configOption);
3130

31+
/// UDA for field treated as memory value
32+
struct MemVal {}
33+
3234
/**
3335
* initialize members of struct CFG from rt_config options
3436
*

0 commit comments

Comments
 (0)