diff options
author | dos-reis <gdr@axiomatics.org> | 2009-10-25 19:01:37 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-10-25 19:01:37 +0000 |
commit | e23e15aa5c1a1e476fb022edaefe95f5fbe9c97e (patch) | |
tree | c790d6930c5a54c1ece2ec21afdcbe9dc6b5fdeb /src/include | |
parent | 465174ff1bb6292faefe0e047833fa2df5c1c92f (diff) | |
download | open-axiom-e23e15aa5c1a1e476fb022edaefe95f5fbe9c97e.tar.gz |
* lib/cfuns-c.c (oa_concatenate_string): Define.
* include/open-axiom.h (openaxiom_ifs): New.
(OPENAXIOM_TEXINPUTS_PATH): Likewise.
(OPENAXIOM_BIBINPUTS_PATH): Likewise.
* driver/main.c (augment_variable): New.
(upgrade_environment): Likewise. Call publish_systemdir.
(main): Call it instead of publish_systemdir. Handle 'spawn' driver.
* driver/utils.h (openaxiom_execute_driver): New kind of driver.
* driver/utils.c (openaxiom_preprocess_arguments): Tidy.
(openaxiom_execute_core): Likewise.
* sman/sman.c (process_arguments): Likewise.
(process_options): Likewise.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/open-axiom.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h index df814476..67f378d7 100644 --- a/src/include/open-axiom.h +++ b/src/include/open-axiom.h @@ -101,6 +101,17 @@ typedef enum openaxiom_spawn_flags { /* Return the address of the data buffer `BUF'. */ #define oa_buffer_address(BUF) ((openaxiom_byte*)&BUF[0]) +/* Internal field separator character. */ +#ifdef __WIN32__ +# define openaxiom_ifs ';' +#else +# define openaxiom_ifs ':' +#endif + +/* Paths to LaTeX input support file directories. + These paths are relative to system directory. */ +#define OPENAXIOM_TEXINPUTS_PATH "/share/tex" +#define OPENAXIOM_BIBINPUTS_PATH "/share/tex" /* The function sleep() is not available under Windows. Instead, they have Sleep(); with capital S, please. Furthermore, it does not @@ -121,6 +132,7 @@ openaxiom_sleep(int n) OPENAXIOM_EXPORT void oa_allocate_process_argv(openaxiom_process*, int); OPENAXIOM_EXPORT int oa_spawn(openaxiom_process*, openaxiom_spawn_flags); +OPENAXIOM_EXPORT const char* oa_concatenate_string(const char*, const char*); #ifdef __cplusplus } |