Commit da66d5df84c8033b49fd848dde3c3677b31c63df
1 parent
47b80e1c
Use new class interface and update copyright information
Showing
42 changed files
with
53 additions
and
48 deletions
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | * \author Georg Hopp | 11 | * \author Georg Hopp |
12 | * | 12 | * |
13 | * \copyright | 13 | * \copyright |
14 | - * Copyright © 2012 Georg Hopp | 14 | + * Copyright © 2014 Georg Hopp |
15 | * | 15 | * |
16 | * This program is free software: you can redistribute it and/or modify | 16 | * This program is free software: you can redistribute it and/or modify |
17 | * it under the terms of the GNU General Public License as published by | 17 | * it under the terms of the GNU General Public License as published by |
@@ -53,6 +53,7 @@ TR_CLASS(TR_Cbuf) { | @@ -53,6 +53,7 @@ TR_CLASS(TR_Cbuf) { | ||
53 | size_t read; | 53 | size_t read; |
54 | }; | 54 | }; |
55 | TR_INSTANCE_INIT(TR_Cbuf); | 55 | TR_INSTANCE_INIT(TR_Cbuf); |
56 | +TR_CLASSVARS_DECL(TR_Cbuf) {}; | ||
56 | 57 | ||
57 | ssize_t TR_cbufRead(TR_Cbuf, TR_Stream); | 58 | ssize_t TR_cbufRead(TR_Cbuf, TR_Stream); |
58 | ssize_t TR_cbufWrite(TR_Cbuf, TR_Stream); | 59 | ssize_t TR_cbufWrite(TR_Cbuf, TR_Stream); |
@@ -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 |
@@ -34,6 +34,7 @@ TR_CLASS(TR_Hash) { | @@ -34,6 +34,7 @@ TR_CLASS(TR_Hash) { | ||
34 | TR_Tree root; | 34 | TR_Tree root; |
35 | }; | 35 | }; |
36 | TR_INSTANCE_INIT(TR_Hash); | 36 | TR_INSTANCE_INIT(TR_Hash); |
37 | +TR_CLASSVARS_DECL(TR_Hash) {}; | ||
37 | 38 | ||
38 | void * TR_hashAdd(TR_Hash, void *); | 39 | void * TR_hashAdd(TR_Hash, void *); |
39 | void * TR_hashDelete(TR_Hash, const char *, size_t); | 40 | void * TR_hashDelete(TR_Hash, const char *, size_t); |
@@ -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 |
@@ -37,6 +37,7 @@ TR_CLASS(TR_HashValue) { | @@ -37,6 +37,7 @@ TR_CLASS(TR_HashValue) { | ||
37 | size_t nvalue; | 37 | size_t nvalue; |
38 | }; | 38 | }; |
39 | TR_INSTANCE_INIT(TR_HashValue); | 39 | TR_INSTANCE_INIT(TR_HashValue); |
40 | +TR_CLASSVARS_DECL(TR_HashValue) {}; | ||
40 | 41 | ||
41 | #endif // __TR_HASH_VALUE_H__ | 42 | #endif // __TR_HASH_VALUE_H__ |
42 | 43 |
@@ -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 |
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | * \author Georg Hopp | 7 | * \author Georg Hopp |
8 | * | 8 | * |
9 | * \copyright | 9 | * \copyright |
10 | - * Copyright © 2012 Georg Hopp | 10 | + * Copyright © 2014 Georg Hopp |
11 | * | 11 | * |
12 | * This program is free software: you can redistribute it and/or modify | 12 | * This program is free software: you can redistribute it and/or modify |
13 | * it under the terms of the GNU General Public License as published by | 13 | * it under the terms of the GNU General Public License as published by |
@@ -48,6 +48,7 @@ TR_CLASS(TR_Queue) { | @@ -48,6 +48,7 @@ TR_CLASS(TR_Queue) { | ||
48 | size_t nmsg; | 48 | size_t nmsg; |
49 | }; | 49 | }; |
50 | TR_INSTANCE_INIT(TR_Queue); | 50 | TR_INSTANCE_INIT(TR_Queue); |
51 | +TR_CLASSVARS_DECL(TR_Queue) {}; | ||
51 | 52 | ||
52 | void TR_queuePut(TR_Queue, void *); | 53 | void TR_queuePut(TR_Queue, void *); |
53 | void * TR_queueGet(TR_Queue); | 54 | void * TR_queueGet(TR_Queue); |
@@ -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 |
@@ -36,6 +36,7 @@ TR_CLASS(TR_Tree) { | @@ -36,6 +36,7 @@ TR_CLASS(TR_Tree) { | ||
36 | TR_Tree right; | 36 | TR_Tree right; |
37 | }; | 37 | }; |
38 | TR_INSTANCE_INIT(TR_Tree); | 38 | TR_INSTANCE_INIT(TR_Tree); |
39 | +TR_CLASSVARS_DECL(TR_Tree) {}; | ||
39 | 40 | ||
40 | typedef int (*TR_TreeComp)(const void *, const void *); | 41 | typedef int (*TR_TreeComp)(const void *, const void *); |
41 | typedef void (*TR_TreeAction)(const void *, const int); | 42 | typedef void (*TR_TreeAction)(const void *, const int); |
@@ -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 |
@@ -118,6 +118,6 @@ cbufDtor(void * _this) | @@ -118,6 +118,6 @@ cbufDtor(void * _this) | ||
118 | } | 118 | } |
119 | 119 | ||
120 | TR_INIT_IFACE(TR_Class, cbufCtor, cbufDtor, NULL); | 120 | TR_INIT_IFACE(TR_Class, cbufCtor, cbufDtor, NULL); |
121 | -TR_CREATE_CLASS(TR_Cbuf, NULL, TR_IF(TR_Class)); | 121 | +TR_CREATE_CLASS(TR_Cbuf, NULL, NULL, TR_IF(TR_Class)); |
122 | 122 | ||
123 | // vim: set ts=4 sw=4: | 123 | // vim: set ts=4 sw=4: |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -44,6 +44,6 @@ hashDtor(void * _this) | @@ -44,6 +44,6 @@ hashDtor(void * _this) | ||
44 | } | 44 | } |
45 | 45 | ||
46 | TR_INIT_IFACE(TR_Class, hashCtor, hashDtor, NULL); | 46 | TR_INIT_IFACE(TR_Class, hashCtor, hashDtor, NULL); |
47 | -TR_CREATE_CLASS(TR_Hash, NULL, TR_IF(TR_Class)); | 47 | +TR_CREATE_CLASS(TR_Hash, NULL, NULL, TR_IF(TR_Class)); |
48 | 48 | ||
49 | // vim: set ts=4 sw=4: | 49 | // vim: set ts=4 sw=4: |
@@ -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 |
@@ -102,6 +102,6 @@ hashValueHandleDouble(void * _this, void * _double) | @@ -102,6 +102,6 @@ hashValueHandleDouble(void * _this, void * _double) | ||
102 | 102 | ||
103 | TR_INIT_IFACE(TR_Class, hashValueCtor, hashValueDtor, NULL); | 103 | TR_INIT_IFACE(TR_Class, hashValueCtor, hashValueDtor, NULL); |
104 | TR_INIT_IFACE(TR_Hashable, hashValueGetHash, hashValueHandleDouble); | 104 | TR_INIT_IFACE(TR_Hashable, hashValueGetHash, hashValueHandleDouble); |
105 | -TR_CREATE_CLASS(TR_HashValue, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable)); | 105 | +TR_CREATE_CLASS(TR_HashValue, NULL, NULL, TR_IF(TR_Class), TR_IF(TR_Hashable)); |
106 | 106 | ||
107 | // vim: set ts=4 sw=4: | 107 | // vim: set ts=4 sw=4: |
@@ -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 |
@@ -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 |
@@ -48,6 +48,6 @@ queueDtor(void * _this) | @@ -48,6 +48,6 @@ queueDtor(void * _this) | ||
48 | } | 48 | } |
49 | 49 | ||
50 | TR_INIT_IFACE(TR_Class, queueCtor, queueDtor, NULL); | 50 | TR_INIT_IFACE(TR_Class, queueCtor, queueDtor, NULL); |
51 | -TR_CREATE_CLASS(TR_Queue, NULL, TR_IF(TR_Class)); | 51 | +TR_CREATE_CLASS(TR_Queue, NULL, NULL, TR_IF(TR_Class)); |
52 | 52 | ||
53 | // vim: set ts=4 sw=4: | 53 | // vim: set ts=4 sw=4: |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -49,6 +49,6 @@ treeDtor(void * _this) | @@ -49,6 +49,6 @@ treeDtor(void * _this) | ||
49 | } | 49 | } |
50 | 50 | ||
51 | TR_INIT_IFACE(TR_Class, treeCtor, treeDtor, NULL); | 51 | TR_INIT_IFACE(TR_Class, treeCtor, treeDtor, NULL); |
52 | -TR_CREATE_CLASS(TR_Tree, NULL, TR_IF(TR_Class)); | 52 | +TR_CREATE_CLASS(TR_Tree, NULL, NULL, TR_IF(TR_Class)); |
53 | 53 | ||
54 | // vim: set ts=4 sw=4: | 54 | // vim: set ts=4 sw=4: |
@@ -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 |
@@ -11,13 +11,13 @@ | @@ -11,13 +11,13 @@ | ||
11 | #define HAVE_MEMORY_H 1 | 11 | #define HAVE_MEMORY_H 1 |
12 | 12 | ||
13 | /* Define to 1 if you have the `memset' function. */ | 13 | /* Define to 1 if you have the `memset' function. */ |
14 | -/* #undef HAVE_MEMSET */ | 14 | +#define HAVE_MEMSET 1 |
15 | 15 | ||
16 | /* Define to 1 if you have the <stdarg.h> header file. */ | 16 | /* Define to 1 if you have the <stdarg.h> header file. */ |
17 | #define HAVE_STDARG_H 1 | 17 | #define HAVE_STDARG_H 1 |
18 | 18 | ||
19 | /* Define to 1 if stdbool.h conforms to C99. */ | 19 | /* Define to 1 if stdbool.h conforms to C99. */ |
20 | -/* #undef HAVE_STDBOOL_H */ | 20 | +#define HAVE_STDBOOL_H 1 |
21 | 21 | ||
22 | /* Define to 1 if you have the <stdint.h> header file. */ | 22 | /* Define to 1 if you have the <stdint.h> header file. */ |
23 | #define HAVE_STDINT_H 1 | 23 | #define HAVE_STDINT_H 1 |
Please
register
or
login
to post a comment