mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-21 02:40:06 +01:00
Add some minimal documentation about static linking
I can't recommend it, but I can't stop people from doing it, so at least document the ground rules. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
31113e6038
commit
0ceee5ec65
1 changed files with 14 additions and 0 deletions
|
|
@ -540,6 +540,20 @@ extern "C" {
|
|||
* @include linux/input.h
|
||||
*/
|
||||
|
||||
/**
|
||||
* @page static_linking Statically linking libevdev
|
||||
*
|
||||
* Statically linking libevdev.a is not recommended. Symbol visibility is
|
||||
* difficult to control in a static library, so extra care must be taken to
|
||||
* only use symbols that are explicitly exported. libevdev's API stability
|
||||
* guarantee only applies to those symbols.
|
||||
*
|
||||
* If you do link libevdev statically, note that in addition to the exported
|
||||
* symbols, libevdev reserves the <b>_libevdev_*</b> namespace. Do not use
|
||||
* or create symbols with that prefix, they are subject to change at any
|
||||
* time.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @page testing libevdev-internal test suite
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue