File: builtin.c

package info (click to toggle)
saml 970418-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,188 kB
  • ctags: 1,703
  • sloc: ansic: 17,186; sh: 2,573; yacc: 497; perl: 264; makefile: 242; python: 242
file content (36 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright 1995,96 Thierry Bousch
 * Licensed under the Gnu Public License, Version 2
 *
 * $Id: builtin.c,v 1.13 1996/08/12 21:47:09 bousch Exp $
 *
 * Initializes the simple types defined in saml.h.
 */

#include "saml.h"
#include "builtin.h"

void saml_init (void)
{
	static int done = 0;
	
	if (done)
	    return;
	done = 1;

	init_MathType_Void();
	init_MathType_Literal();
	init_MathType_Mint();
	init_MathType_Integer();
	init_MathType_Cyclic();
	init_MathType_Float();
	init_MathType_Rational();
	init_MathType_Complex();
	init_MathType_Monomial();
	init_MathType_Polynomial();
	init_MathType_Upoly();
	init_MathType_Apoly();
	init_MathType_Algext();
	init_MathType_Matrix();
	init_MathType_Tensor();
}