Subversion Repositories wimsdev

Rev

Rev 7396 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7396 Rev 13310
Line 1... Line 1...
1
/*             wims_mathml 1.4.9
1
/*             wims_mathml 1.4.10
2
 *   wims_mathml.h last modified 10/27/2011
2
 *   wims_mathml.h last modified 6/16/2012
3
 */
3
 */
4
 
4
 
5
#ifndef ITEX2MML_H
5
#ifndef ITEX2MML_H
6
#define ITEX2MML_H
6
#define ITEX2MML_H
7
 
7
 
8
#define ITEX2MML_VERSION "1.4.9"
8
#define ITEX2MML_VERSION "1.4.10"
9
 
9
 
10
#ifdef __cplusplus
10
#ifdef __cplusplus
11
extern "C" {
11
extern "C" {
12
#endif
12
#endif
13
 
13
 
14
  /* Step 1. Parse a buffer with itex source; return value is mathml, or 0 on failure (e.g., parse error).
14
  /* Step 1. Parse a buffer with itex source; return value is mathml, or 0 on failure (e.g., parse error).
15
   */
15
   */
16
  const int set_javascript();// wims_mathml.y can read this variable 
16
  const int set_javascript();// wims_mathml.y can read this variable
17
  const char * read_fontsize(); // wims_mathml.y may use this from wims_mathml.cc to read string "fontsize"
17
  const char * read_fontsize(); // wims_mathml.y may use this from wims_mathml.cc to read string "fontsize"
18
  const char * read_mathml_id(); // wims_mathml.y may use this from wims_mathml.cc to read string "mathml_id"
18
  const char * read_mathml_id(); // wims_mathml.y may use this from wims_mathml.cc to read string "mathml_id"
19
  extern char * wims_mathml_parse (const char * buffer, unsigned long length);
19
  extern char * wims_mathml_parse (const char * buffer, unsigned long length);
20
 
20
 
21
  /* Step 2. Free the string from Step 1.
21
  /* Step 2. Free the string from Step 1.