forked from github/server
36 lines
782 B
C
36 lines
782 B
C
/* vi: set ts=2:
|
|
*
|
|
* $Id: matmod.c,v 1.2 2001/01/26 16:19:39 enno Exp $
|
|
* Eressea PB(E)M host Copyright (C) 1998-2000
|
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
|
* Henning Peters (faroul@beyond.kn-bremen.de)
|
|
* Enno Rehling (enno@eressea-pbem.de)
|
|
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
|
|
*
|
|
* This program may not be used, modified or distributed without
|
|
* prior permission by the authors of Eressea.
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include "matmod.h"
|
|
|
|
#include <attrib.h>
|
|
|
|
attrib_type at_matmod = {
|
|
"matmod",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
ATF_PRESERVE
|
|
};
|
|
|
|
attrib *
|
|
make_matmod(mm_fun function)
|
|
{
|
|
attrib * a = a_new(&at_matmod);
|
|
a->data.f = (void(*)(void))function;
|
|
return a;
|
|
}
|