source: git/Singular/mpsr_Tok.h @ ca9096f

spielwiese
Last change on this file since ca9096f 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
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/* $Id$ */
5
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 ***************************************************************/
15
16#ifdef HAVE_MPSR
17
18#ifndef __MPSR_TOK_H__
19#define __MPSR_TOK_H__
20
21#include <Singular/mpsr.h>
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
32#define MP_AnnotSingularProcDef         1
33#define MP_AnnotSingularPackageType     2
34
35#endif  // __MPSR_TOK_H__
36
37
38#endif // #ifdef HAVE_MPSR
Note: See TracBrowser for help on using the repository browser.