source: git/Singular/mpsr_Tok.h @ 3bdd16

fieker-DuValspielwiese
Last change on this file since 3bdd16 was ca9096f, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: #ifdef HAVE_MPSR safeguards around the header-content CHG: minor cleanups
  • Property mode set to 100644
File size: 1014 bytes
RevLine 
[6ae4f5]1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
[341696]4/* $Id$ */
[6ae4f5]5
[0e1846]6/***************************************************************
7 *
8 * File:       mpsr_Tok.h
9 * Purpose:    Routines which realize Singular CMD <-> MP (dict, cop) mappings
10 * Author:     Olaf Bachmann (1/97)
11 *
12 * Change History (most recent first):
13 *
14 ***************************************************************/
[ca9096f]15
16#ifdef HAVE_MPSR
17
[0e1846]18#ifndef __MPSR_TOK_H__
19#define __MPSR_TOK_H__
[ca9096f]20
21#include <Singular/mpsr.h>
[0e1846]22
23extern mpsr_Status_t mpsr_tok2mp(short tok, MP_DictTag_t *dict,
24                               MP_Common_t *cop);
25
26extern mpsr_Status_t mpsr_mp2tok(MP_DictTag_t dict, MP_Common_t cop,
27                               short *o_tok);
28
29extern MP_Common_t mpsr_ord2mp(int sr_ord);
30extern short mpsr_mp2ord(MP_Common_t mp_ord);
31
[fff984]32#define MP_AnnotSingularProcDef         1
33#define MP_AnnotSingularPackageType     2
34
[0e1846]35#endif  // __MPSR_TOK_H__
[ca9096f]36
37
38#endif // #ifdef HAVE_MPSR
Note: See TracBrowser for help on using the repository browser.