64-bit variables in BREW | developer.brewmp.com 64-bit variables in BREW | developer.brewmp.com

Developer

64-bit variables in BREW

Forums:

As of I know BREW does'nt support 64bit variables. I am porting a existing source to BREW where 64bit variable is used. Is there any way to support 64bit variables in BREW. I found somewhere that 64bit is supported in BREW 1.x but for BREW 3.x "unsigned long long" can be used.

BREW support for 64 bit variables only matters if the APIs actually support them. 3.1.5 does have a small amount of support for 64 bit vars - see AEE64structs.h, AEEComDef.h, and AEEMedia.h.
As for the rest of it, that's down to the compiler. The ARM toolchain, and I believe WinARM, both support long long as a 64 bit quantity. Obviously you'll need some arithmetic operations defined in your link library, but even if they don't exist, it's not going to be that hard to write them yourself.

BREW support for 64 bit variables only matters if the APIs actually support them. 3.1.5 does have a small amount of support for 64 bit vars - see AEE64structs.h, AEEComDef.h, and AEEMedia.h.
As for the rest of it, that's down to the compiler. The ARM toolchain, and I believe WinARM, both support long long as a 64 bit quantity. Obviously you'll need some arithmetic operations defined in your link library, but even if they don't exist, it's not going to be that hard to write them yourself.