[Gambas-user] Moving from 64bit to 32 bit and back
Jussi Lahtinen
jussi.lahtinen at gmail.com
Fri Jul 3 22:39:21 CEST 2020
I would rather use preprocessors to define the variables, but it depends...
your way should work.
http://gambaswiki.org/wiki/lang/.if
Jussi
On Fri, Jul 3, 2020 at 4:51 AM Brian G <brian at westwoodsvcs.com> wrote:
> I replaced all c calls from Gambas3 that required Size_t data type with a
> pointer type in Gambas and cast the type using cint() or clong() when the
> value must be used.
>
> I did this because in most cases size_t follows the width of the address
> bus by convention.
>
> This seems to work so far.
>
> Does anyone have any thoughts on this?
>
> I would like to get some input about this if anyone have a better idea
>
> I can't see any where even in the structures I have used that this does
> not translate well.
>
> Was playing with the new raspi OS which defaults to 32 bit.
>
> Thank You
> Brian G
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200703/34b558fe/attachment.html>
More information about the User
mailing list