source: git/Singular/slInit_Static.cc @ 6993c83

spielwiese
Last change on this file since 6993c83 was d828d63, checked in by Hans Schoenemann <hannes@…>, 12 years ago
removed MPSR stuff
  • Property mode set to 100644
File size: 885 bytes
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/***************************************************************
5 *  File:    slInit_Static.cc
6 *  Purpose: link initialization for static linking
7 *  Author:  obachman (Olaf Bachmann)
8 *  Created: 12/00
9 *******************************************************************/
10
11#include "config.h"
12#include <kernel/mod2.h>
13
14#include <Singular/silink.h>
15#include <Singular/slInit.h>
16
17#ifdef HAVE_DBM
18
19# ifndef USE_GDBM
20#   include <Singular/dbm_sl.h>
21# else
22#   include <Singular/sing_dbm.h>
23#endif
24
25si_link_extension slInitDBMExtension(si_link_extension s)
26{
27  s->Open=dbOpen;
28  s->Close=dbClose;
29  s->Kill=dbClose;
30  s->Read=dbRead1;
31  s->Read2=dbRead2;
32  s->Write=dbWrite;
33  s->Status=slStatusAscii;
34  s->type="DBM";
35  return s;
36}
37#endif /* #ifdef HAVE_DBM */
Note: See TracBrowser for help on using the repository browser.