source: git/Singular/mpsr_Tok.h @ 6ce030f

jengelh-datetimespielwiese
Last change on this file since 6ce030f was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 1003 bytes
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4
5/***************************************************************
6 *
7 * File:       mpsr_Tok.h
8 * Purpose:    Routines which realize Singular CMD <-> MP (dict, cop) mappings
9 * Author:     Olaf Bachmann (1/97)
10 *
11 * Change History (most recent first):
12 *
13 ***************************************************************/
14
15#ifdef HAVE_MPSR
16
17#ifndef __MPSR_TOK_H__
18#define __MPSR_TOK_H__
19
20#include <Singular/mpsr.h>
21
22extern mpsr_Status_t mpsr_tok2mp(short tok, MP_DictTag_t *dict,
23                               MP_Common_t *cop);
24
25extern mpsr_Status_t mpsr_mp2tok(MP_DictTag_t dict, MP_Common_t cop,
26                               short *o_tok);
27
28extern MP_Common_t mpsr_ord2mp(int sr_ord);
29extern short mpsr_mp2ord(MP_Common_t mp_ord);
30
31#define MP_AnnotSingularProcDef         1
32#define MP_AnnotSingularPackageType     2
33
34#endif  // __MPSR_TOK_H__
35
36
37#endif // #ifdef HAVE_MPSR
Note: See TracBrowser for help on using the repository browser.