Commit 52ce40ac3916507e1f7b8347d71f6adefb49402a
1 parent
4d73d0fb
Use new class interface and update copyright information
Showing
11 changed files
with
23 additions
and
21 deletions
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | * \author Georg Hopp | 5 | * \author Georg Hopp |
6 | * | 6 | * |
7 | * \copyright | 7 | * \copyright |
8 | - * Copyright © 2012 Georg Hopp | 8 | + * Copyright © 2014 Georg Hopp |
9 | * | 9 | * |
10 | * This program is free software: you can redistribute it and/or modify | 10 | * This program is free software: you can redistribute it and/or modify |
11 | * it under the terms of the GNU General Public License as published by | 11 | * it under the terms of the GNU General Public License as published by |
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | * \author Georg Hopp | 5 | * \author Georg Hopp |
6 | * | 6 | * |
7 | * \copyright | 7 | * \copyright |
8 | - * Copyright © 2012 Georg Hopp | 8 | + * Copyright © 2014 Georg Hopp |
9 | * | 9 | * |
10 | * This program is free software: you can redistribute it and/or modify | 10 | * This program is free software: you can redistribute it and/or modify |
11 | * it under the terms of the GNU General Public License as published by | 11 | * it under the terms of the GNU General Public License as published by |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | * \author Georg Hopp | 8 | * \author Georg Hopp |
9 | * | 9 | * |
10 | * \copyright | 10 | * \copyright |
11 | - * Copyright © 2013 Georg Hopp | 11 | + * Copyright © 2014 Georg Hopp |
12 | * | 12 | * |
13 | * This program is free software: you can redistribute it and/or modify | 13 | * This program is free software: you can redistribute it and/or modify |
14 | * it under the terms of the GNU General Public License as published by | 14 | * it under the terms of the GNU General Public License as published by |
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | * \author Georg Hopp | 10 | * \author Georg Hopp |
11 | * | 11 | * |
12 | * \copyright | 12 | * \copyright |
13 | - * Copyright © 2012 Georg Hopp | 13 | + * Copyright © 2014 Georg Hopp |
14 | * | 14 | * |
15 | * This program is free software: you can redistribute it and/or modify | 15 | * This program is free software: you can redistribute it and/or modify |
16 | * it under the terms of the GNU General Public License as published by | 16 | * it under the terms of the GNU General Public License as published by |
@@ -52,6 +52,7 @@ TR_CLASS(TR_Uuid) { | @@ -52,6 +52,7 @@ TR_CLASS(TR_Uuid) { | ||
52 | } uuid; | 52 | } uuid; |
53 | }; | 53 | }; |
54 | TR_INSTANCE_INIT(TR_Uuid); | 54 | TR_INSTANCE_INIT(TR_Uuid); |
55 | +TR_CLASSVARS_DECL(TR_Uuid) {}; | ||
55 | 56 | ||
56 | extern TR_Uuid TR_uuidZero; | 57 | extern TR_Uuid TR_uuidZero; |
57 | 58 |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | * \author Georg Hopp | 4 | * \author Georg Hopp |
5 | * | 5 | * |
6 | * \copyright | 6 | * \copyright |
7 | - * Copyright © 2012 Georg Hopp | 7 | + * Copyright © 2014 Georg Hopp |
8 | * | 8 | * |
9 | * This program is free software: you can redistribute it and/or modify | 9 | * This program is free software: you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | * \author Georg Hopp | 4 | * \author Georg Hopp |
5 | * | 5 | * |
6 | * \copyright | 6 | * \copyright |
7 | - * Copyright © 2012 Georg Hopp | 7 | + * Copyright © 2014 Georg Hopp |
8 | * | 8 | * |
9 | * This program is free software: you can redistribute it and/or modify | 9 | * This program is free software: you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | * \author Unknown (find out) | 5 | * \author Unknown (find out) |
6 | * | 6 | * |
7 | * \copyright | 7 | * \copyright |
8 | - * Copyright © 2012-2013 Georg Hopp | 8 | + * Copyright © 2014 Georg Hopp |
9 | * | 9 | * |
10 | * This program is free software: you can redistribute it and/or modify | 10 | * This program is free software: you can redistribute it and/or modify |
11 | * it under the terms of the GNU General Public License as published by | 11 | * it under the terms of the GNU General Public License as published by |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | * \author Georg Hopp | 8 | * \author Georg Hopp |
9 | * | 9 | * |
10 | * \copyright | 10 | * \copyright |
11 | - * Copyright © 2013 Georg Hopp | 11 | + * Copyright © 2014 Georg Hopp |
12 | * | 12 | * |
13 | * This program is free software: you can redistribute it and/or modify | 13 | * This program is free software: you can redistribute it and/or modify |
14 | * it under the terms of the GNU General Public License as published by | 14 | * it under the terms of the GNU General Public License as published by |
@@ -2,19 +2,20 @@ | @@ -2,19 +2,20 @@ | ||
2 | * \file | 2 | * \file |
3 | * Small test for out sha1 implementation | 3 | * Small test for out sha1 implementation |
4 | * | 4 | * |
5 | - * Copyright © 2013, Copperfasten Technologies, Teoranta. All rights | ||
6 | - * reserved. Unpublished rights reserved under the copyright laws of | ||
7 | - * the United States and/or the Republic of Ireland. | 5 | + * Copyright © 2014 Georg Hopp |
8 | * | 6 | * |
9 | - * The software contained herein is proprietary to and embodies the | ||
10 | - * confidential technology of Copperfasten Technologies, Teoranta. | ||
11 | - * Possession, use, duplication or dissemination of the software and | ||
12 | - * media is authorized only pursuant to a valid written license from | ||
13 | - * Copperfasten Technologies, Teoranta. | 7 | + * This program is free software: you can redistribute it and/or modify |
8 | + * it under the terms of the GNU General Public License as published by | ||
9 | + * the Free Software Foundation, either version 3 of the License, or | ||
10 | + * (at your option) any later version. | ||
14 | * | 11 | * |
15 | - * \author Georg Hopp <ghopp@spamtitan.com> | ||
16 | - * \version SVN: $id: $ | ||
17 | - * \copyright Copyright © 2013, Copperfasten Technologies | 12 | + * This program is distributed in the hope that it will be useful, |
13 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | + * GNU General Public License for more details. | ||
16 | + * | ||
17 | + * You should have received a copy of the GNU General Public License | ||
18 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | 19 | */ |
19 | #include <stdio.h> | 20 | #include <stdio.h> |
20 | #include <sys/types.h> | 21 | #include <sys/types.h> |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | * \author Georg Hopp | 4 | * \author Georg Hopp |
5 | * | 5 | * |
6 | * \copyright | 6 | * \copyright |
7 | - * Copyright © 2013 Georg Hopp | 7 | + * Copyright © 2014 Georg Hopp |
8 | * | 8 | * |
9 | * This program is free software: you can redistribute it and/or modify | 9 | * This program is free software: you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -51,7 +51,7 @@ uuidClone(void * _this, void * _base) | @@ -51,7 +51,7 @@ uuidClone(void * _this, void * _base) | ||
51 | } | 51 | } |
52 | 52 | ||
53 | TR_INIT_IFACE(TR_Class, uuidCtor, uuidDtor, uuidClone); | 53 | TR_INIT_IFACE(TR_Class, uuidCtor, uuidDtor, uuidClone); |
54 | -TR_CREATE_CLASS(TR_Uuid, NULL, TR_IF(TR_Class)); | 54 | +TR_CREATE_CLASS(TR_Uuid, NULL, NULL, TR_IF(TR_Class)); |
55 | 55 | ||
56 | TR_INSTANCE( | 56 | TR_INSTANCE( |
57 | TR_Uuid, | 57 | TR_Uuid, |
Please
register
or
login
to post a comment