debian/changelog: Prepare for next version.
[sod] / test / kwbench.h
1 /* -*-c-*-
2 *
3 * Keyword benchmark, header
4 *
5 * (c) 2019 Straylight/Edgeware
6 */
7
8 /*----- Licensing notice --------------------------------------------------*
9 *
10 * This file is part of the Sensible Object Design, an object system for C.
11 *
12 * SOD is free software: you can redistribute it and/or modify it under
13 * the terms of the GNU General Public License as published by the Free
14 * Software Foundation; either version 2 of the License, or (at your
15 * option) any later version.
16 *
17 * SOD is distributed in the hope that it will be useful, but WITHOUT ANY
18 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with SOD. If not, write to the Free Software Foundation, Inc.,
24 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 */
26
27 #ifndef KWBENCH_H
28 #define KWBENCH_H
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 #include "keyword.h"
35
36 struct myobject { int x, y, z; };
37
38 extern void kwbench_trivial(struct myobject */*obj*/,
39 int /*x*/, int /*y*/, int /*z*/);
40
41 extern KWCALL void kwbench_keywords(struct myobject */*obj*/, KWTAIL);
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif