Determining the size of allocated memory from a pointer

Justin_10 justi_10@rediffmail.com
Mon Aug 2 11:38:00 GMT 2010


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.



More information about the Gcc-help mailing list