nanogui: [patch] added const qualifier in nano-X API


Previous by date: 9 Jul 2005 15:36:40 +0100 Re: Qusetion abuot Nano-X alpha blending, Greg Haerr
Next by date: 9 Jul 2005 15:36:40 +0100 Re: Use of "unsigned long" for 32-bit quantities, Greg Haerr
Previous in thread: 9 Jul 2005 15:36:40 +0100 [patch] added const qualifier in nano-X API, Alexander Stohr
Next in thread:

Subject: Re: [nanogui] [patch] added const qualifier in nano-X API
From: "Greg Haerr" ####@####.####
Date: 9 Jul 2005 15:36:40 +0100
Message-Id: <4c3801c58493$7b598350$6401a8c0@winXP>

: the attached patch now does add the const qualifier
: in a significant amount of places in the nano-X API
: thus allowing the user to pass constant strings and
: compareable buffers to the grafics system. it further
: makes sure that nano-X allocates its very own buffers
: in cases where it previousely altered user supplied
: data. this is especially helpfull against runtime
: errors and faults if the user data was located in
: a ROM area or in a read-only data segment.

Thanks for the patch, I'll take a close look at it. 
Initially, I went the easy route and didn't code const
declarations throughout the API, but have been
leaning towards this more complex and precise
approach.  Provided that this doesn't cause too
much upset with existing programs and internal
files, we should add this patch.

Regards,

Greg

Previous by date: 9 Jul 2005 15:36:40 +0100 Re: Qusetion abuot Nano-X alpha blending, Greg Haerr
Next by date: 9 Jul 2005 15:36:40 +0100 Re: Use of "unsigned long" for 32-bit quantities, Greg Haerr
Previous in thread: 9 Jul 2005 15:36:40 +0100 [patch] added const qualifier in nano-X API, Alexander Stohr
Next in thread:


Powered by ezmlm-browse 0.20.