[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] hard-coding MAX_WIDTH and MAX_HEIGHT (was: patch-fu)

From: David Squire
Subject: Re: [help-GIFT] hard-coding MAX_WIDTH and MAX_HEIGHT (was: patch-fu)
Date: Thu, 17 Aug 2006 16:21:08 +0100
User-agent: Thunderbird (Macintosh/20060719)

address@hidden wrote:
Agreed. howabout in my next set of patches, i apply something that creates
a MAX_WIDTH and MAX_HEIGHT define, that we use for spots that "need" a hard coded value at compile time, and continue to use width and height
for things that dont require hard coding?

That would be a whole lot nicer than using 65536 :). Then you can do your static compile time memory allocation, but still pass width and height parameters into the routines to determine how much of this buffer gets used.



Dr David McG. Squire, Senior Lecturer, on sabbatical in 2006
Caulfield School of Information Technology, Monash University, Australia
CRICOS Provider No. 00008C

reply via email to

[Prev in Thread] Current Thread [Next in Thread]