|
Udipe 1.0
Solving the riddle of high-throughput UDP
|
Imported symbol visibility. More...
Go to the source code of this file.
Macros | |
| #define | UDIPE_PUBLIC |
This project uses GCC's -fvisibility=hidden model, i.e. all functions which are not marked as public are not exported from the library, which improves linker and library performance.
Functions which are marked as extern are excluded from this mechanism, but they must also go through the ELF PLT to allow linker overriding, which means that internal calls from udipe are pessimized to take the same path as external calls from outside udipe.
Therefore, a third visibility mode is needed for functions which are used by udipe internally and by external clients of udipe. And enforcing this visibility is the job of UDIPE_PUBLIC.
| #define UDIPE_PUBLIC |
Mark a function declaration as public
This is used to annotate which functions are meant to be used by udipe end users, which has the following consequences: