Yes, it will always return non NULL in that context. Best, Scuri
Em qua, 15 de jan de 2020 18:14, Ranier Vilela <[email protected]> escreveu: > Hi Scuri, > > I did not understand your answer, for me still with error. > Do you mean that IupGetCallback (tree, "SELECTION_CB"); > always return different than NULL in that context? > > regards, > Ranier Vilela > > ________________________________________ > De: Antonio Scuri <[email protected]> > Enviado: quarta-feira, 15 de janeiro de 2020 13:18 > Para: IUP discussion list. > Assunto: Re: [Iup-users] IUP-TRUNK dereference null return > (src\iup_layoutdlg.c) > > Hi, > > It is true, but not in that context. There SELECTION_CB must be defined. > > Best, > Scuri > > > Em qua., 15 de jan. de 2020 às 09:39, Ranier Vilela < > [email protected]<mailto:[email protected]>> escreveu: > Hi, > > IupGetCallback function can return NULL, therefore it is necessary to > check the return. > > best regards, > Ranier Vilela_______________________________________________ > Iup-users mailing list > [email protected]<mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/iup-users > > > _______________________________________________ > Iup-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
