summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorVarriount <Varriount@users.noreply.github.com>2015-01-05 22:45:31 -0500
committerVarriount <Varriount@users.noreply.github.com>2015-01-05 22:45:31 -0500
commitb7f72985ed31ebdab8c8e7da4ce219aec1677456 (patch)
tree267daf9c88a3e920df588b54328066b1df7151f9
parent20568c35db3cd94f8147af8003559173dccba9e3 (diff)
parent2399f3b03d6953dea57b214eb16e3ce9bb90f85e (diff)
downloadNim-b7f72985ed31ebdab8c8e7da4ce219aec1677456.tar.gz
Merge pull request #1879 from def-/nim-renames
Some GC renames to get rid of deprecation warnings
-rw-r--r--lib/system/gc2.nim2
-rw-r--r--lib/system/mmdisp.nim6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/system/gc2.nim b/lib/system/gc2.nim
index ee52b54f5..b0173b78f 100644
--- a/lib/system/gc2.nim
+++ b/lib/system/gc2.nim
@@ -1344,7 +1344,7 @@ when not defined(useNimRtl):
       else:
         dec(gch.recGcLock)
 
-  proc GC_setStrategy(strategy: TGC_Strategy) =
+  proc GC_setStrategy(strategy: GC_Strategy) =
     case strategy
     of gcThroughput: nil
     of gcResponsiveness: nil
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim
index e091c0889..a1a0353ca 100644
--- a/lib/system/mmdisp.nim
+++ b/lib/system/mmdisp.nim
@@ -144,7 +144,7 @@ when defined(boehmgc):
     proc GC_disable() = boehmGC_disable()
     proc GC_enable() = boehmGC_enable()
     proc GC_fullCollect() = boehmGCfullCollect()
-    proc GC_setStrategy(strategy: TGC_Strategy) = discard
+    proc GC_setStrategy(strategy: GC_Strategy) = discard
     proc GC_enableMarkAndSweep() = discard
     proc GC_disableMarkAndSweep() = discard
     proc GC_getStatistics(): string = return ""
@@ -221,7 +221,7 @@ elif defined(nogc) and defined(useMalloc):
     proc GC_disable() = discard
     proc GC_enable() = discard
     proc GC_fullCollect() = discard
-    proc GC_setStrategy(strategy: TGC_Strategy) = discard
+    proc GC_setStrategy(strategy: GC_Strategy) = discard
     proc GC_enableMarkAndSweep() = discard
     proc GC_disableMarkAndSweep() = discard
     proc GC_getStatistics(): string = return ""
@@ -281,7 +281,7 @@ elif defined(nogc):
   proc GC_disable() = discard
   proc GC_enable() = discard
   proc GC_fullCollect() = discard
-  proc GC_setStrategy(strategy: TGC_Strategy) = discard
+  proc GC_setStrategy(strategy: GC_Strategy) = discard
   proc GC_enableMarkAndSweep() = discard
   proc GC_disableMarkAndSweep() = discard
   proc GC_getStatistics(): string = return ""