1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-09 16:00:35 +00:00
Files
AROS-v0/tools/genmodule/dtsupport.c
Matthias Rustler a58f5dc15c copyright header fixed
copyright sign unified to (C)
$Id$ removed
Lang: removed
2021-05-02 13:46:08 +02:00

32 lines
693 B
C

/*
Copyright (C) 1995-2005, The AROS Development Team. All rights reserved.
Functions to support datatypes. Part of genmodule.
*/
#include <stdio.h>
#include "genmodule.h"
void writeobtainengine(FILE *out, struct config *cfg)
{
fprintf
(
out,
"\n"
"/* ObtainEngine function */\n"
"/* ===================== */\n"
"\n"
"AROS_LH0(struct IClass *, ObtainEngine,\n"
" LIBBASETYPEPTR, base, 5, %s\n"
")\n"
"{\n"
" AROS_LIBFUNC_INIT\n"
"\n"
" return GM_CLASSPTR_FIELD(base);\n"
"\n"
" AROS_LIBFUNC_EXIT\n"
"}\n",
cfg->basename
);
}