make sure values passed to cmake are stripped.
[AROS.git] / tools / genmodule / dtsupport.c
blob3cfc512b3dd0f54513c0db5ce5bc8f0b3fbd1b2f
1 /*
2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
3 $Id$
5 Functions to support datatypes. Part of genmodule.
6 */
7 #include <stdio.h>
9 #include "genmodule.h"
11 void writeobtainengine(FILE *out, struct config *cfg)
13 fprintf
15 out,
16 "\n"
17 "/* ObtainEngine function */\n"
18 "/* ===================== */\n"
19 "\n"
20 "AROS_LH0(struct IClass *, ObtainEngine,\n"
21 " LIBBASETYPEPTR, base, 5, %s\n"
22 ")\n"
23 "{\n"
24 " AROS_LIBFUNC_INIT\n"
25 "\n"
26 " return GM_CLASSPTR_FIELD(base);\n"
27 "\n"
28 " AROS_LIBFUNC_EXIT\n"
29 "}\n",
30 cfg->basename