This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Determining the size of allocated memory from a pointer
- From: Justin_10 <justi_10 at rediffmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 2 Aug 2010 04:38:42 -0700 (PDT)
- Subject: Determining the size of allocated memory from a pointer
Hi All
I am doing image processing application in which i will be getting two
things pointer and a memory size pointed by this pointer.
So for each invocation down the line i have to pass this two parameters.
Is it possible to know the size of memory from the pointer itself.
Please suggest for suitable solutions.
for eg msize on windows.
Thanks in advance
--
View this message in context: http://old.nabble.com/Determining-the-size-of-allocated-memory-from-a-pointer-tp29324330p29324330.html
Sent from the gcc - Help mailing list archive at Nabble.com.