Sha256: 905b990b4edf2adcdaa7b929927ced8dcc565fc3d50291df5aed5c17608cebb4

Contents?: true

Size: 957 Bytes

Versions: 19

Compression:

Stored size: 957 Bytes

Contents

#ifndef LASEM_OVERRIDES_H
#define LASEM_OVERRIDES_H

#include <glib.h>

#define PARSE 0
#define FILTER 1
#define TEXT_FILTER 2
#define STRICT_FILTER 3

/* Dummies for mtex2MML_free_string */
void itex2MML_free_string (char * str);
void lsm_itex_free_mathml_buffer	(char *mathml);
char * lsm_itex_to_mathml (const char *itex, gssize size);

/**
 * lsm_mtex_to_mathml:
 * @mtex: (allow-none): an mtex string
 * @size: mtex string length, -1 if NULL terminated
 *
 * Converts an mtex string to a Mathml representation.
 *
 * Return value: a newly allocated string, NULL on parse error. The returned data must be freed using @lsm_mtex_free_mathml_buffer.
 */

extern char * lsm_mtex_to_mathml (const char *mtex, gssize size, int delimiter, int render_type);

/**
 * lsm_mtex_free_mathml_buffer:
 * @mathml: (allow-none): a mathml buffer
 *
 * Free the buffer returned by @lsm_mtex_to_mathml.
 */

extern void lsm_mtex_free_mathml_buffer (char *mathml);

#endif

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mathematical-1.6.20 ext/mathematical/lasem_overrides.h
mathematical-1.6.18 ext/mathematical/lasem_overrides.h
mathematical-1.6.17 ext/mathematical/lasem_overrides.h
mathematical-1.6.14 ext/mathematical/lasem_overrides.h
mathematical-1.6.13 ext/mathematical/lasem_overrides.h
mathematical-1.6.12 ext/mathematical/lasem_overrides.h
mathematical-1.6.11 ext/mathematical/lasem_overrides.h
mathematical-1.6.10 ext/mathematical/lasem_overrides.h
mathematical-1.6.9 ext/mathematical/lasem_overrides.h
mathematical-1.6.8 ext/mathematical/lasem_overrides.h
mathematical-1.6.7 ext/mathematical/lasem_overrides.h
mathematical-1.6.6 ext/mathematical/lasem_overrides.h
mathematical-1.6.5 ext/mathematical/lasem_overrides.h
mathematical-1.6.4 ext/mathematical/lasem_overrides.h
mathematical-1.6.3 ext/mathematical/lasem_overrides.h
mathematical-1.6.2 ext/mathematical/lasem_overrides.h
mathematical-1.6.1 ext/mathematical/lasem_overrides.h
mathematical-1.6.0 ext/mathematical/lasem_overrides.h
mathematical-1.5.12 ext/mathematical/lasem_overrides.h