2 ?'s: malloc() and bitmap() limits?

Discuss PocketC for Palm OS (including Desktop Edition)

Postby ftuvell on Fri Feb 09, 2001 2:01 pm

What is the largest integer value that can be passed to malloc()?

What is the maximum size of a bitmap that can be passed to bitmap()?


Posts: 1
Joined: Wed Feb 07, 2001 3:49 pm

Postby jstadolnik on Fri Feb 09, 2001 7:33 pm

Malloc uses dynamic heap space which varies from OS to OS, and from device to device. The HeapSize() function in the toolbox library can tell you how much heap space you have left.

With regards to the bitmap, I don't know. There may be a pocketC limit or you may run into some palm OS record size limit?

Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 5 guests