Changeset d828d63 in git for Singular/slInit_Static.cc


Ignore:
Timestamp:
Aug 2, 2012, 10:29:12 AM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
0419aba8292e7109329604d8ad03b70f8ef65423
Parents:
85bcd6879cf375abcd839182c40d607f5e1e7884
Message:
removed MPSR stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/slInit_Static.cc

    r85bcd6 rd828d63  
    99 *******************************************************************/
    1010
    11 /***************************************************************
    12  *
    13  * MP link Extension inits
    14  *
    15  ***************************************************************/
    1611#include "config.h"
    1712#include <kernel/mod2.h>
     
    1914#include <Singular/silink.h>
    2015#include <Singular/slInit.h>
    21 
    22 #ifdef HAVE_MPSR
    23 
    24 #include <MP.h>
    25 #include <Singular/mpsr_sl.h>
    26 
    27 extern void mpsr_Init();
    28 
    29 si_link_extension slInitMPFileExtension(si_link_extension s)
    30 {
    31   mpsr_Init();
    32   s->Open=slOpenMPFile;
    33   s->Close=slCloseMP;
    34   s->Kill=slCloseMP;
    35   s->Read=slReadMP;
    36   s->Dump=slDumpMP;
    37   s->GetDump=slGetDumpMP;
    38   s->Write=slWriteMP;
    39   s->Status=slStatusMP;
    40   s->type="MPfile";
    41   return s;
    42 }
    43 
    44 si_link_extension slInitMPTcpExtension(si_link_extension s)
    45 {
    46   mpsr_Init();
    47   s->Open=slOpenMPTcp;
    48   s->Close=slCloseMP;
    49   s->Kill=slKillMP;
    50   s->Read=slReadMP;
    51   s->Dump=slDumpMP;
    52   s->GetDump=slGetDumpMP;
    53   s->Write=slWriteMP;
    54   s->Status=slStatusMP;
    55   s->type="MPtcp";
    56   return s;
    57 }
    58 
    59 BatchDoProc slInitMPBatchDo()
    60 {
    61   mpsr_Init();
    62   return Batch_do;
    63 }
    64 #endif
    6516
    6617#ifdef HAVE_DBM
Note: See TracChangeset for help on using the changeset viewer.