Subversion Repositories wimsdev

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
12260 2403 d 6 h bpr /trunk/wims/src/Lib/ [formatage]  
8195 3671 d 17 h bpr /trunk/wims/src/ [major/clean] clean differents definitions of errors (give differents names)
delete error1 error2 error3 which do not seem useful.
- clean Makefile
 
8185 3673 d 14 h bpr /trunk/wims/src/ [major] - delete the include *.c in wims.c and wimslogd.c
- clean makefil
- delete hmname.c (part in rawmath.c, part in Misc/html2msg.c
- ...
 
8177 3677 d 5 h bpr /trunk/wims/src/ [minor/clean] "include <*> " before the others includings.  
8160 3678 d 14 h bpr /trunk/wims/src/Lib/ [minor/clean] delete include *.c for Lib  
8122 3685 d 11 h bpr /trunk/wims/src/ [minor/] - change name: Lib/lines.c -> Lib/liblines.c
- in Misc/mathexp use -lwims
 
8086 3705 d 12 h bpr /trunk/wims/src/ [major/] (Dominique Bernardi :)The string_modify() routine declared in libwims.h has two implementations, one in Lib/lines.c and the other in Msg2wims/lines.c. The second one was called string_modify2 and substituted to the first one when appropriate using the preprocessor directive

#define string_modify string_modify2

Now the standard implementation is named string_modify1 and the alternative string_modify2 as before.
They are both called as string_modify() via a function pointer. This pointer and the two functions are declared in libwims.h.

The clients of the wims library can call string_modify(), which invokes string_modify1().
Other programs (like Msg2wims) must define the pointer like this:

void (*string_modify)(char *start, char *bad_beg, char *bad_end, char *good,..) = string_modify2;
(or string_modify1 as the case may be).
 
10 6284 d 11 h reyssat /trunk/wims/src/ partial (src) import of 3.62