From fbc2289a958e7ccafedb6083fb76c78371d479d8 Mon Sep 17 00:00:00 2001 From: anonymous Date: Sun, 5 Jun 2016 22:47:00 +0200 Subject: [PATCH] XREF purge: CXREF, custom SXREF, changelog.dd --- changelog.dd | 11 +---------- src/core/memory.d | 2 +- src/core/time.d | 7 +++---- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/changelog.dd b/changelog.dd index 36adb5aa5d..3b6bfc6b20 100644 --- a/changelog.dd +++ b/changelog.dd @@ -19,7 +19,7 @@ $(LI $(LNAME2 TypeInfo.init-deprecated, `TypeInfo.init` has been to resolve a name clash with the type property $(GLINK2 property, init). ) - $(P Use $(NOXREF TypeInfo.initializer, TypeInfo.initializer) instead.) + $(P Use $(REF_OBJECT_SHORT TypeInfo.initializer) instead.) ) ) @@ -32,15 +32,6 @@ Macros: RELATIVE_LINK2=$+ LNAME2=$+ - STDMODREF = $2 - COREMODREF = $2 - XREF = $2 - CXREF = $2 - OXREF = $2 - NXREF = $2 - NCXREF = $2 - NOXREF = $2 - BUGZILLA = Bugzilla $0 PULL_REQUEST = $(LINK2 https://github.com/dlang/$1/pull/$2, $1#$2) diff --git a/src/core/memory.d b/src/core/memory.d index a1d487d1f3..10de25778d 100644 --- a/src/core/memory.d +++ b/src/core/memory.d @@ -31,7 +31,7 @@ $(LI Maintain another reference to that same data in another thread that the GC does know about.) $(LI Disable GC collection cycles while that thread is active with $(LREF disable)/$(LREF enable).) - $(LI Register the thread with the GC using $(CXREF thread, thread_attachThis)/$(CXREF thread, thread_detachThis).) + $(LI Register the thread with the GC using $(REF thread_attachThis, core,thread)/$(REF thread_detachThis, core,thread).) ) ) ) diff --git a/src/core/time.d b/src/core/time.d index e23e163e06..5144fa606e 100644 --- a/src/core/time.d +++ b/src/core/time.d @@ -45,12 +45,12 @@ ) $(TR $(TD $(B To $(LREF Duration))) $(TD -) - $(TD $(D tickDuration.)$(SXREF conv, to)$(D !Duration())) + $(TD $(D tickDuration.)$(REF_SHORT to, std,conv)$(D !Duration())) $(TD -) $(TD $(D dur!"msecs"(5)) or $(D 5.msecs())) ) $(TR $(TD $(B To $(LREF TickDuration))) - $(TD $(D duration.)$(SXREF conv, to)$(D !TickDuration())) + $(TD $(D duration.)$(REF_SHORT to, std,conv)$(D !TickDuration())) $(TD -) $(TD -) $(TD $(D TickDuration.from!"msecs"(msecs))) @@ -74,7 +74,6 @@ Source: $(DRUNTIMESRC core/_time.d) Macros: NBSP=  - SXREF=$(D $2) +/ module core.time; @@ -414,7 +413,7 @@ unittest (e.g. 22 days or 700 seconds). It is used when representing a duration of time - such as how long to - sleep with $(CXREF thread, Thread.sleep). + sleep with $(REF Thread.sleep, core,thread). In std.datetime, it is also used as the result of various arithmetic operations on time points.