This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]