Added copyright notices to files where missing

This commit is contained in:
Felix Krause 2016-02-27 13:09:50 +01:00
parent 56d49ec308
commit 5933605591
9 changed files with 54 additions and 0 deletions

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
proc newYamlNode*(content: string, tag: string = "?"): YamlNode = proc newYamlNode*(content: string, tag: string = "?"): YamlNode =
new(result) new(result)
result.kind = yScalar result.kind = yScalar

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
proc initRefNodeData(p: pointer): RefNodeData = proc initRefNodeData(p: pointer): RefNodeData =
result.p = p result.p = p
result.count = 1 result.count = 1

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
proc initYamlStream*(backend: iterator(): YamlStreamEvent): YamlStream = proc initYamlStream*(backend: iterator(): YamlStreamEvent): YamlStream =
result.peeked = false result.peeked = false
result.backend = backend result.backend = backend

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
import "../yaml" import "../yaml"
proc printDifference*(expected, actual: YamlStreamEvent) = proc printDifference*(expected, actual: YamlStreamEvent) =

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
import "../yaml" import "../yaml"
import unittest, json import unittest, json

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
import "../yaml" import "../yaml"
import unittest, common import unittest, common

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
import "../yaml" import "../yaml"
import unittest, common import unittest, common

View File

@ -1,3 +1,9 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
import "../yaml" import "../yaml"
import unittest, strutils import unittest, strutils

View File

@ -1 +1,7 @@
# NimYAML - YAML implementation in Nim
# (c) Copyright 2015 Felix Krause
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
import parsing, constructingJson, serializing, dom import parsing, constructingJson, serializing, dom