Nimrod renamed to Nim

This commit is contained in:
Araq 2014-08-28 09:50:51 +02:00
commit d05df2173b
56 changed files with 116 additions and 116 deletions

View file

@ -1,13 +1,13 @@
#
#
# Nimrod's Runtime Library
# Nim's Runtime Library
# (c) Copyright 2012 Andreas Rumpf
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
#
## This module contains Nimrod's support for locks and condition vars.
## This module contains Nim's support for locks and condition vars.
## If the symbol ``preventDeadlocks`` is defined
## (compiled with ``-d:preventDeadlocks``) special logic is added to
## every ``acquire``, ``tryAcquire`` and ``release`` action that ensures at
@ -18,10 +18,10 @@
include "system/syslocks"
type
TLock* = TSysLock ## Nimrod lock; whether this is re-entrant
TLock* = TSysLock ## Nim lock; whether this is re-entrant
## or not is unspecified! However, compilation
## in preventDeadlocks-mode guarantees re-entrancy.
TCond* = TSysCond ## Nimrod condition variable
TCond* = TSysCond ## Nim condition variable
FLock* = object of TEffect ## effect that denotes that some lock operation
## is performed

View file

@ -1,6 +1,6 @@
#
#
# Nimrod's Runtime Library
# Nim's Runtime Library
# (c) Copyright 2013 Andreas Rumpf
#
# See the file "copying.txt", included in this

View file

@ -585,7 +585,7 @@ proc assign*(x, y: TAny) =
genericAssign(x.value, y.value, y.rawType)
iterator elements*(x: TAny): int =
## iterates over every element of `x` that represents a Nimrod bitset.
## iterates over every element of `x` that represents a Nim bitset.
assert x.rawType.kind == tySet
var typ = x.rawType
var p = x.value
@ -607,7 +607,7 @@ iterator elements*(x: TAny): int =
yield i+typ.node.len
proc inclSetElement*(x: TAny, elem: int) =
## includes an element `elem` in `x`. `x` needs to represent a Nimrod bitset.
## includes an element `elem` in `x`. `x` needs to represent a Nim bitset.
assert x.rawType.kind == tySet
var typ = x.rawType
var p = x.value

View file

@ -1,6 +1,6 @@
#
#
# Nimrod's Runtime Library
# Nim's Runtime Library
# (c) Copyright 2012 Andreas Rumpf
#
# See the file "copying.txt", included in this