Andre Poenitz <[EMAIL PROTECTED]> writes:
| >
| > You mean so that we can have a centralized testing at the top of the
| > function?
| >
| > dispatch(..)
| > string string_arg
| > char char_arg;
| > ......
| > if (lyxaction.func(LFUN_BUFFER_NEW).arg1 == type_info<string>)
| > string_arg = stream_cast<string, string>funcslot[1]
| > .....
| >
| > unless you have a better idea I think we should check at each case.
|
| We could use strings (and only strings) as arguments of Dispatch or in
| the slots, can't we?
Sure, but some of the LFUNS will require other types, so the string
must then be convertable to int (or any other type)
Lgb
- Re: LyXFunc/LyXAction Jean-Marc Lasgouttes
- Re: LyXFunc/LyXAction Angus Leeming
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- Re: LyXFunc/LyXAction Allan Rae
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- Re: LyXFunc/LyXAction Jean-Marc Lasgouttes
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- Re: LyXFunc/LyXAction Allan Rae
- Re: LyXFunc/LyXAction Andre Poenitz
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- Re: LyXFunc/LyXAction John Levon
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- Re: LyXFunc/LyXAction John Levon
- Re: LyXFunc/LyXAction Lars Gullik Bj�nnes
- LyXFunc/LyXAction Angus Leeming
- Re: LyXFunc/LyXAction Andre Poenitz
