Getting method name from libraries

closed account (j6v0pfjN)
Hi All,
I have library named libtest.so
I need to get all the method names from the library with the return type.
By using -nm linux command i could get the method names but not the return type of the method.
Is there any other mrthod to get the method names.

Thanks,
Kamatchi
If you call the method like so foo(1); g++ will return something like
wrong arguments for foo(char, int, const char*)
return type of a normal function is not built into the function's signature, therefor you cannot get it from library. Find out the library's header is the only way.
Topic archived. No new replies allowed.