- On Aug 25, Anil Kumar Saharan wrote,
>In C you can make your helper functions as static soActually, that's not what I was looking for. Making
>functions won't be exported.
>In C++ you can have helper classes defined/declared
>within the user
>class itself which would be inaccessible outside.
>Hope that solves ur problem.
them static would limit their scope to a single file,
while I wanted the functions to be accessible anywhere
inside the library, but not outside it.
On Aug 26, Annesh Kumar K. V. wrote,
>Try the version scripting with ld. you can hide yourYeah, using ld scripts would have worked, but then
>global symbols so
>that others can't access it. For more do info ld.
>and search for --version-script
this is a GNU extension, so not portable. So, I
decided not to use it.
But thanks to both anyway.
- Vikas G P
P.S: I read somewhere that this kind of thing can be
done with the older a.out format. Haven't read the
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes