Try:

int xmax, ymax;
IupGetIntInt(NULL, "FULLSIZE", &xmax, &ymax);

Best,
Scuri



Em dom, 24 de jun de 2018 às 06:21, lgg2 <[email protected]> escreveu:

> Hello,
>
> I am trying to read a GLOBAL attribute with this function but fails.
>
> i.e.:
>
> int *xmax, *ymax;
> IupGetIntInt(NULL, "FULLSIZE", xmax, ymax);
> /* Results that xmax and ymax are 0 */
>
> but:
>
> int *xmax, *ymax;
> xmax = IupGetInt(NULL, "FULLSIZE");
> ymax = IupGetInt2(NULL, "FULLSIZE");
> /* Results on xmax and ymax are ok */
>
> System: ArchLinux with 4.17.2      IUP 3.24      GCC 8.1.1
>
>
> Thanks
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to