Angus Leeming <[EMAIL PROTECTED]> writes: | 3. We could lose all of those extra CB functions in FormDocument by making | use of the "long" variable that is returned. We'd end up with | | void FormBase::InputCB(FL_OBJECT * ob, long data ) | { | FormBase * pre = static_cast<FormBase*>(ob->form->u_vdata); | pre->bc_.valid( pre->input( data ) ); | } Please don't do that. (read: Do not do that!) casting pointers to integers are not safe and not guaranteed to work. Lgb
- 3 patches to cvs Angus Leeming
- Re: 3 patches to cvs Allan Rae
- Re: 3 patches to cvs Andre Poenitz
- Re: 3 patches to cvs Allan Rae
- Re: 3 patches to cvs Baruch Even
- Re: 3 patches to cvs Angus Leeming
- Re: 3 patches to cvs Lars Gullik Bjønnes
- Re: 3 patches to cvs Juergen Vigna
- Re: 3 patches to cvs Angus Leeming
- Re: 3 patches to cvs Juergen Vigna
- Re: 3 patches to cvs Angus Leeming
- Re: 3 patches to cvs Lars Gullik Bjønnes
- Re: 3 patches to cvs Allan Rae
- Re: 3 patches to cvs Lars Gullik Bjønnes
- RE: 3 patches to cvs Juergen Vigna