This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to change function name in a library

I have two separate library files with a function of same Name and Passing parameter.
How can I use these two library files in a single project? Or how to change the function name in one library?

Parents
  • You normally can't unless you have access to the source code so you can recompile one of the libraries after having changing the name.

    This is one of the big reasons why C++ introduced namespaces.

    Maybe, just maybe, the C51 linker has some support for name aliases, but you'll have to wait for someone who uses C51 heavily to respond.

Reply
  • You normally can't unless you have access to the source code so you can recompile one of the libraries after having changing the name.

    This is one of the big reasons why C++ introduced namespaces.

    Maybe, just maybe, the C51 linker has some support for name aliases, but you'll have to wait for someone who uses C51 heavily to respond.

Children
No data